[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bug #4689] [PNET/C] [PARSER/DATATYPE] Problem with us
From: |
nobody |
Subject: |
[Pnet-developers] [bug #4689] [PNET/C] [PARSER/DATATYPE] Problem with using a field name that is already a datatype. |
Date: |
Sat, 09 Aug 2003 20:40:10 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
=================== BUG #4689: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4689&group_id=353
Changes by: Rhys Weatherley <address@hidden>
Date: Sun 08/10/2003 at 00:40 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Fix committed to CVS - 10 Aug 2003
BTW, don't do this - it is bad coding practice and
probably won't work on non-gcc C compilers.
=================== BUG #4689: FULL BUG SNAPSHOT ===================
Submitted by: mdupont Project: DotGNU Portable.NET
Submitted on: Sat 08/09/2003 at 14:41
Category: None Severity: 5 - Major
Bug Group: None Resolution: Fixed
Assigned to: None Status: Closed
Summary: [PNET/C] [PARSER/DATATYPE] Problem with using a field name that is
already a datatype.
Original Submission: The following snippet of code shows you a bug in the
typedef handling system. You need to look for the field before resolving the
typedef.
###########################################
##########################################
typedef unsigned int datatype;
typedef union {
unsigned int datatype;
void* ptr;
} my_union;
/*
cscc test_local_name.c
test_local_name.c:3: syntax error, unexpected ';' at or near `;'
test_local_name.c:5: syntax error, unexpected '}' at or near `}'
*/
Follow-up Comments
*******************
-------------------------------------------------------
Date: Sun 08/10/2003 at 00:40 By: rweather
Fix committed to CVS - 10 Aug 2003
BTW, don't do this - it is bad coding practice and
probably won't work on non-gcc C compilers.
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4689&group_id=353
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/