Bug 174593 - Update broke gcc ? .../4.0.2/include/stddef.h:214: error: syntax error before `typedef'
Update broke gcc ? .../4.0.2/include/stddef.h:214: error: syntax error before...
Product: Fedora
Classification: Fedora
Component: gcc4 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2005-11-30 10:24 EST by Kim Lux
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-30 12:39:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kim Lux 2005-11-30 10:24:32 EST
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 
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.
Comment 1 Jakub Jelinek 2005-11-30 10:35:00 EST
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.
Comment 2 Jakub Jelinek 2005-11-30 11:35:16 EST
From the files that have been set by mail privately to me, I see:
# 1 "ralloc.c"
# 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.
Comment 3 Kim Lux 2005-11-30 11:46:13 EST
Corrupted source file, ralloc.c.

Sorry to waste your time. 

Note You need to log in before you can comment on or make changes to this bug.