public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/6924: non-ansi compiler fails on gcc/tradcpp.c
@ 2002-06-03 11:06 eric.ladner
  0 siblings, 0 replies; 2+ messages in thread
From: eric.ladner @ 2002-06-03 11:06 UTC (permalink / raw)
  To: gcc-gnats


>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:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bootstrap/6924: non-ansi compiler fails on gcc/tradcpp.c
@ 2002-06-04  4:48 jakub
  0 siblings, 0 replies; 2+ messages in thread
From: jakub @ 2002-06-04  4:48 UTC (permalink / raw)
  To: eric.ladner, gcc-bugs, gcc-prs, nobody

Synopsis: non-ansi compiler fails on gcc/tradcpp.c

State-Changed-From-To: open->closed
State-Changed-By: jakub
State-Changed-When: Tue Jun  4 04:48:14 2002
State-Changed-Why:
    This was already fixed:
    2002-05-22  Duraid Madina  <duraid@fl.net.au>
    
            * tradcpp.c (fixup_newlines): Use old-style function header.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6924


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-04 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-03 11:06 bootstrap/6924: non-ansi compiler fails on gcc/tradcpp.c eric.ladner
2002-06-04  4:48 jakub

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).