dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bugs #10182] pnetC/cscc: incorrect interpretation of


From: John Goerzen
Subject: [Pnet-developers] [bugs #10182] pnetC/cscc: incorrect interpretation of empty prototypes
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040822 Firefox/0.9.3

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




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

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10182>
Project: DotGNU Portable.NET
Submitted by: John Goerzen
On: Fri 08/27/2004 at 19:32

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


Summary:  pnetC/cscc: incorrect interpretation of empty prototypes

Original Submission:  In the GNU program m4 1.4.2 (from 
ftp.gnu.org/pub/gnu/m4), there is this prototype:

extern void printchar ();

Later on in the code, there's this call:

          printchar (i - 1);

(i is an unsigned int)

We also see:

          printchar (*p++);

p is defined as:

  unsigned char *p = start;

The error cscc raises is:

regex.c:514: too many arguments to function `printchar'

Note that the prototype does not specify void and an empty argument list simply 
means that the compiler should not check the argument list.

A full build log is attached.






File Attachments
-------------------

-------------------------------------------------------
Date: Fri 08/27/2004 at 19:32  Name: buildlog.txt  Size: 12.23KB   By: jgoerzen

http://savannah.gnu.org/bugs/download.php?item_id=10182&amp;item_file_id=1616






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10182>

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





reply via email to

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