Description of problem: /usr/lib/gcc/i386-redhat-linux/4.0.2/include/stddef.h:214: error: syntax error before âtypedefâ Version-Release number of selected component (if applicable): Just updated gcc. rpm -q gcc gcc-4.0.2-8.fc4 How reproducible: Steps to Reproduce: 1. Worked on same code all day yesterday with no problem. 2. gcc-4.0.2 was installed yesterday. 3. This morning, first project build I get the error above. Actual results: Error indicated. There is nothing wrong with the stddef file. Expected results: As yesterday. No errors. Additional info: I have been using gcc-4 without problems since I updated to FC4, shortly after it came out.
Please provide preprocessed source of the file on which you can reproduce it (and ideally -E -dD output as well) and exact gcc (resp. g++) command line options used to compile that. Without that info we can't do anything for you.
From the files that have been set by mail privately to me, I see: # 1 "ralloc.c" sig # 28 "ralloc.c" ... typedef unsigned int size_t; How does the first line in ralloc.c look like? Guess there is a typo or something like that.
Corrupted source file, ralloc.c. Sorry to waste your time.