bugDotGNU Portable.NET - Bugs: bug #2779, PNET/C Nested types syntax error,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #2779: PNET/C Nested types syntax error, unexpected "`typedef'" at or near `typedef'

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Tue 11 Mar 2003 12:09:42 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 11 Mar 2003 09:18:13 PM UTC, comment #1:

gcc gives the same error. "typedef" is not allowed inside
structs, according to the ANSI C spec.

Rhys Weatherley <rweather>
Project Administrator
Tue 11 Mar 2003 12:09:42 AM UTC, original submission:

struct testclass {
typedef struct {
int first, last;
int count;
} propT;

};

James Michael DuPont <mdupont>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 11 Mar 2003 09:18:13 PM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1