bootstrap/6924: non-ansi compiler fails on gcc/tradcpp.c
eric.ladner@chevrontexaco.com
eric.ladner@chevrontexaco.com
Mon Jun 3 11:06:00 GMT 2002
>Number: 6924
>Category: bootstrap
>Synopsis: non-ansi compiler fails on gcc/tradcpp.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Mon Jun 03 11:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Eric Ladner
>Release: 3.1
>Organization:
>Environment:
HP-UX 11.0
>Description:
HP's non-ansii compiler fails on the function fixup_newlines in tradcpp.c at line 2598.
The reason is that the function prototype for fixup_newlines is an ANSI prototype, not a K&R type prototype.
>How-To-Repeat:
>Fix:
This is the current definition:
static void
fixup_newlines (FILE_BUF *fp)
{
...
This is what it should be:
static void
fixup_newlines (fp)
FILE_BUF *fp;
{
...
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list