[Mono-list] Mono + GCC 3.4
Paolo Molaro
lupus@ximian.com
Mon, 3 May 2004 08:37:53 +0200
On 05/01/04 Marcus wrote:
> I recently upgraded to GCC 3.4. Any idea why I get errors like
>
> make[2]: Entering directory `/home/marcus/src/mcs/jay'
> cc -DSKEL_DIRECTORY=\""/usr/local/share/jay"\" -g -O2 -c -o closure.o
> closure.c
> In file included from closure.c:41:
> defs.h:306: warning: conflicting types for built-in function 'calloc'
> defs.h:307: warning: conflicting types for built-in function 'malloc'
I changed the code to use the proper includes instead of its own
prototypes.
On 05/01/04 Marcus wrote:
> If I then disable the definitions of calloc and malloc in jay/defs.h, I get an
> error from
[...]
> symbolwriter.cs tree.cs CryptoConvert.cs cs-parser.cs
> cs-tokenizer.cs(31) error CS0246: Cannot find type `yyParser.yyInput'
This is because the makefile creates an empty cs-parser.cs when jay
fails. I fixed the makefile: you'll need to remove cs-parser.cs or run
make clean and make again.
Thanks.
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better