DotGNU Portable.NET - Bugs: bug #10182, pnetC/cscc: incorrect...
You are not allowed to post comments on this tracker with your current authentication level.
bug #10182: pnetC/cscc: incorrect interpretation of empty prototypes
| Submitter: | John Goerzen <jgoerzen> | ||
| Submitted: | Fri 27 Aug 2004 07:32:46 PM UTC | ||
| Category: | None | Severity: | 3 - Normal |
| Item Group: | None | Status: | Wont Fix |
| Privacy: | Public | Assigned to: | None |
| Open/Closed: | Closed | ||
|
Thu 16 Sep 2004 12:13:59 AM UTC, comment #1: |
Rhys Weatherley <rweather> |
|
Fri 27 Aug 2004 07:32:46 PM UTC, original submission:
In the GNU program m4 1.4.2 (from ftp.gnu.org/pub/gnu/m4), there is this prototype:
|
John Goerzen <jgoerzen> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

The CLR uses both the name and the signature to identify
a function. This means that all functions must be properly
prototyped for C code to be successfully compiled to the
CLR. It isn't possible to guess the parameter types:
is it "unsigned int", "unsigned char", or "int" in
this case? It could be anything.
I suggest that you fix m4 and submit a patch to its
maintainer. There are other functions in the m4 code that
are properly prototyped, using _STDC_ to detect ANSI vs
K&R. They must have missed this one.