Cfront was targeted at pre-ANSI C compilers.  C++ introduced
function prototypes and C89 got them from there.

Arnold

Sergey Korshunoff <[email protected]> wrote:

> Hi!
> I'm currently playing with cfront. "Hello, World" is compiled.
> A strange thing:
> cfront change declaration of the C functions.
>         original declaration:
>                 extern "C" void *malloc(unsigned);
>         after cfront-1: extern int  *malloc();
>         after cfront-3: extern char *malloc();
>
> PS: [email protected], what doing your version in this regard?
> Changing a yacc version don't helps.
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel


_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to