[Mono-list] Mono + GCC 3.4

Marcus mathpup@mylinuxisp.com
Sat, 1 May 2004 03:16:12 -0500


If I then disable the definitions of calloc and malloc in jay/defs.h, I get an 
error from 

cs   -d:NET_1_1 -d:ONLY_1_1 -g /target:exe /out:mcs.exe AssemblyInfo.cs 
anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs 
class.cs codegen.cs const.cs constant.cs convert.cs decl.cs delegate.cs 
enum.cs ecore.cs expression.cs flowanalysis.cs genericparser.cs iterators.cs 
literal.cs location.cs modifiers.cs namespace.cs parameter.cs pending.cs 
report.cs rootcontext.cs statement.cs support.cs typemanager.cs 
symbolwriter.cs tree.cs CryptoConvert.cs cs-parser.cs
cs-tokenizer.cs(31) error CS0246: Cannot find type `yyParser.yyInput'

On Saturday 01 May 2004 3:09 am, 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'
>
> Other apps like XMMS, Qt, gettext, KDE build without any problems, so I'm
> wondering what kind of problem this might be.
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list