bugDotGNU Portable.NET - Bugs: bug #4701, ...

 
 

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

bug #4701: [PNET][PNET/C][ERRORSMESSAGES][MISLEADING ERROR MESSAGE]two or more data types in declaration

Submitted by:  James Michael DuPont <mdupont>
Submitted on:  Sun 10 Aug 2003 03:42:39 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 11 Aug 2003 09:21:25 AM UTC, comment #1:

Fix committed to CVS - 11 Aug 2003

An extra error line will be printed if the declaration
looks like it may be a redeclaration of a typedef.

Rhys Weatherley <rweather>
Project Administrator
Sun 10 Aug 2003 03:42:39 PM UTC, original submission:

"two or more data types in declaration" this error message is totaly confusing. The compiler thinkgs that I am using a typedef as a name. It should first check if the name exists.
This message cost me 1h of searching.
---------------------------------------------
typedef int foo;
typedef int foo;
//doubledefined.c:2: two or more data types in declaration
//doubledefined.c:2: warning: useless keyword or type name in empty declaration

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
Mon 11 Aug 2003 09:21:25 AM UTCrweatherOpen/ClosedOpen=>(Error - Not Found)
Mon 11 Aug 2003 09:21:24 AM UTCrweatherStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1