Bug 174593

Summary: Update broke gcc ? .../4.0.2/include/stddef.h:214: error: syntax error before `typedef'
Product: [Fedora] Fedora Reporter: Kim Lux <lux>
Component: gcc4Assignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-30 17:39:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kim Lux 2005-11-30 15:24:32 UTC
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.

Comment 1 Jakub Jelinek 2005-11-30 15:35:00 UTC
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 16:35:16 UTC
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.


Comment 3 Kim Lux 2005-11-30 16:46:13 UTC
Corrupted source file, ralloc.c.

Sorry to waste your time.