Skip to main content
GameDev.net gamedev.net
🔒 Locked

gcc 'stdlib.h' error & bison

Started by BouncePup Aug 9, 2002 at 2:32 PM 0 replies 250+ views
Original Post
BouncePup
BouncePup
I''m just fiddling with a cross-platform scripting language using flex & bison. But when using bison to generate code from my ''.y'' file, it complains about stdlib.h This is the basic output from MAKE : ************************************** gpp -c freeform.cc gpp -c lex.cc gpp -c error.cc gpp -c parse.cc In file included from c:/djgpp/include/malloc.h:15, from freeform.y:6 c:/djgpp/include/stdlib.h:83: parse error before '')'' token ** error 1 ** deleting parse.o ************************************** this is line 83 from stdlib.h = "void* alloca(size_t _size);" looks totally fine to me, but it''s whats causing the error I guess. Anyone care to take a stab at this? Thanks- Nate
"Always forgive your enemies, nothing annoys them more.."

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.