[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #11068] pnet c loses the constantness of integer
From: |
Stephen Compall |
Subject: |
[Pnet-developers] [bugs #11068] pnet c loses the constantness of integers in array calculation |
Date: |
Tue, 28 Dec 2004 05:40:00 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #11068] Latest Modifications:
Changes by:
Stephen Compall <address@hidden>
'Date:
Tue 12/28/2004 at 05:40 (America/Chicago)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Duplicate
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
This is a duplicate of bug #8262; please see
https://savannah.gnu.org/bugs/?func=detailitem&item_id=8262 for more
information.
/**************************************************************************/
[bugs #11068] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11068>
Project: DotGNU Portable.NET
Submitted by: James Michael DuPont
On: Sat 11/20/2004 at 22:49
Category: None
Severity: 5 - Average
Item Group: None
Resolution: Duplicate
Privacy: Public
Assigned to: None
Status: Closed
Summary: pnet c loses the constantness of integers in array calculation
Original Submission: test.c
line 1:int x=15 * sizeof (int) - 2 * sizeof (void *);
line 2:const int x2=15 * sizeof (int) - 2 * sizeof (void *);
line 3:char _unused2[2 * sizeof (void *)2 * sizeof (void *)];
test.c:3: error: constant value required
I have traced this to
ILNode_CSemAnalysis(ILNode_ToConst)
and replace the error with a warning as a workaround
== CCErrorOnLine(yygetfilename(node), yygetlinenum(node),
++ CCWarningOnLine(yygetfilename(node), yygetlinenum(node),
Follow-up Comments
------------------
-------------------------------------------------------
Date: Tue 12/28/2004 at 05:40 By: Stephen Compall <S11001001>
This is a duplicate of bug #8262; please see
https://savannah.gnu.org/bugs/?func=detailitem&item_id=8262 for more
information.
-------------------------------------------------------
Date: Sun 11/21/2004 at 10:11 By: James Michael DuPont <mdupont>
Oops,
It looks like I cannot paste correctly,
like 3 should read like this :
char _unused2[15 * sizeof (int) - 2 * sizeof (void *)];
note that the "-" missing, thanks to leppie for pointing this out.
mike
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11068>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pnet-developers] [bugs #11068] pnet c loses the constantness of integers in array calculation,
Stephen Compall <=