|
From: | nobody |
Subject: | [Pnet-developers] [bug #4701] [PNET][PNET/C][ERRORSMESSAGES][MISLEADING ERROR MESSAGE]two or more data types in declaration |
Date: | Mon, 11 Aug 2003 05:21:25 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
=================== BUG #4701: LATEST MODIFICATIONS ================== http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4701&group_id=353 Changes by: Rhys Weatherley <address@hidden> Date: Mon 08/11/2003 at 09:21 (GMT) What | Removed | Added --------------------------------------------------------------------------- Resolution | None | Fixed Status | Open | Closed ------------------ Additional Follow-up Comments ---------------------------- 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. =================== BUG #4701: FULL BUG SNAPSHOT =================== Submitted by: mdupont Project: DotGNU Portable.NET Submitted on: Sun 08/10/2003 at 15:42 Category: None Severity: 5 - Major Bug Group: None Resolution: Fixed Assigned to: None Status: Closed Summary: [PNET][PNET/C][ERRORSMESSAGES][MISLEADING ERROR MESSAGE]two or more data types in declaration 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 Follow-up Comments ******************* ------------------------------------------------------- Date: Mon 08/11/2003 at 09:21 By: rweather 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. CC list is empty No files currently attached For detailed info, follow this link: http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4701&group_id=353 _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |