[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: |
James Michael DuPont |
Subject: |
[Pnet-developers] [bugs #11068] pnet c loses the constantness of integers in array calculation |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041111 Firefox/1.0 (Debian package 1.0-2) |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[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: None
Privacy: Public
Assigned to: None
Status: Open
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),
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/
- [Pnet-developers] [bugs #11068] pnet c loses the constantness of integers in array calculation,
James Michael DuPont <=