|
From: | arnold |
Subject: | Re: [Tinycc-devel] modern c++ compiler written in C |
Date: | Thu, 22 Oct 2015 23:37:53 -0600 |
User-agent: | Heirloom mailx 12.4 7/29/08 |
Cfront was targeted at pre-ANSI C compilers. C++ introduced function prototypes and C89 got them from there. Arnold Sergey Korshunoff <address@hidden> 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: address@hidden, what doing your version in this regard? > Changing a yacc version don't helps. > > _______________________________________________ > Tinycc-devel mailing list > address@hidden > https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |