dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #8262] C Compiler array size declaration problem


From: Stephen Compall
Subject: [Pnet-developers] [bugs #8262] C Compiler array size declaration problem
Date: Tue, 28 Dec 2004 05:40:37 +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 #8262] Latest Modifications:

Changes by: 
                Stephen Compall <address@hidden>
'Date: 
                Tue 12/28/2004 at 05:40 (America/Chicago)

------------------ Additional Follow-up Comments ----------------------------
mdupont shares this as a workaround:

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),






/**************************************************************************/
[bugs #8262] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8262>
Project: DotGNU Portable.NET
Submitted by: 0
On: Tue 03/23/2004 at 12:26

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  None
Status:  Open


Summary:  C Compiler array size declaration problem

Original Submission:  cscc will not compile the following declarations (error: 
constant value required):

char c [sizeof (long) + 1];
char d [sizeof (void *) + 1];

gcc will compile them without problems, and the following are fine on both:

char c [sizeof (long)];
char d [sizeof (void *)];


Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 12/28/2004 at 05:40       By: Stephen Compall <S11001001>
mdupont shares this as a workaround:

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=8262>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]