Menu

#4 Make file gives errors on MAC

open
nobody
5
2008-05-29
2008-05-29
Anonymous
No

source='tokenizer.c' object='tokenizer.o' libtool=no \ depfile='.deps/tokenizer.Po' tmpdepfile='.deps/tokenizer.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../admin -g -O2 -c `test -f 'tokenizer.c' || echo './'`tokenizer.c
tokenizer.c: In function ‘initialize_tokenizer’:
tokenizer.c:78: warning: comparison between pointer and integer
tokenizer.c: In function ‘next_token’:
tokenizer.c:179: error: nested functions are disabled, use -fnested-functions to re-enable
make[2]: *** [tokenizer.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Make file gives error on MAC OS X10.5 with the last version of Xcode. There is a problem with nested functions. Does not gcc for MAC support nested functions? Have you an answer?

Thanks

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.