[Top][All Lists]

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

[Pnet-developers] [bugs #6937] trecc generates C code with syntax error

From: Miroslaw Dobrzanski-Neumann
Subject: [Pnet-developers] [bugs #6937] trecc generates C code with syntax error
Date: Tue, 02 Dec 2003 17:39:40 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.4) Gecko/20030821

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.

[bugs #6937] Full Item Snapshot:

URL: <>
Project: DotGNU Portable.NET
Submitted by: Miroslaw Dobrzanski-Neumann
On: Tue 12/02/2003 at 22:39

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

Summary:  trecc generates C code with syntax error 

Original Submission:  enum { a, b, } is erronous

because "}" may not be folowed by ","

gcc relaxes the check and accepts it but not other ansi C compilers.

the attached patch fixes the problem

File Attachments

Date: Tue 12/02/2003 at 22:39  Name: treecc-0.2.6-enum.diff  Size: 844KB   By: 
patch for enum generation;item_file_id=900

For detailed info, follow this link:

  Message sent via/by Savannah

reply via email to

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