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

Submitter:  James Michael DuPont <mdupont>
Submitted:  Sun 10 Aug 2003 03:42:39 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2003-08-11 rweather Open/ClosedOpen None
2003-08-11 rweather StatusNone None

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code