Sebastian Lövdahl wrote:
Hello! I have a very big problem with GCC (maybe this is wrong thread, but maybe it isn't GCC related at all). When I try to compile a specific file, GCC gives me this:

In file included from globals.h:11,
from main.c:19:
/usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h:151: error: syntax error before "typedef"

Well, if you have a simple file like:

$ cat > f.c
int h
#include <stddef.h>

Then trying to compile the file f.c, you'll get the error message you have.

Conclusion: somewhere before you include stddef.h, you have some syntax error (possibly a missing ";" as in the file f.c above).


-- Groetjes joostje 47d3fcfe28f2a83497e79d9bc7d5087c-4a1ee1fddab4648175518cb4c1c9edb3ed0e89f0


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to