public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/2751: Spurious warnings in gcc 2.95.3 <stdarg.h> include files
@ 2002-04-23  1:58 rth
  0 siblings, 0 replies; 2+ messages in thread
From: rth @ 2002-04-23  1:58 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mtodorov, nobody

Synopsis: Spurious warnings in gcc 2.95.3 <stdarg.h> include files

State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Tue Apr 23 01:58:22 2002
State-Changed-Why:
    Fixed in gcc 3.0.

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


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

* c/2751: Spurious warnings in gcc 2.95.3 <stdarg.h> include files
@ 2001-05-06  6:36 mtodorov
  0 siblings, 0 replies; 2+ messages in thread
From: mtodorov @ 2001-05-06  6:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2751
>Category:       c
>Synopsis:       Spurious warnings in gcc 2.95.3 <stdarg.h> include files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Sun May 06 06:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mirsad Todorovac
>Release:        gcc-2.95.3
>Organization:
>Environment:
alpha-osf-4.0b
GNU make 3.79
tcsh 6.10.00
>Description:
In every more complex program compiled, when <stdarg.h>
is included, this type of warnings occur. I couldn't
see an example that a program was wrong-compiled beacuse
of this, but on the other hand no evidence exists that
there are no errors in compilation indicated by this
warnings.

Example:

gcc -I../ncurses -I. -DNDEBUG -I. -I../include -I/usr/local/include/ncurses -DHAVE_CONFIG_H -O2 -c ../ncurses/./tty/hashmap.c  -DPIC -o .libs/hashmap.lo
In file included from /usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.95.3/include/stdarg.h:36,
                 from ../include/curses.h:80,
                 from ../ncurses/curses.priv.h:236,
                 from ../ncurses/./tty/hashmap.c:70:
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.95.3/include/va-alpha.h:36: warning: redefinition of `va_list'
/usr/local/lib/gcc-lib/alpha-dec-osf4.0b/2.95.3/include/va_list.h:7: warning: `va_list' previously declared here
>How-To-Repeat:
When building gcc-2.95.3, use default, fast fixinclude
mechanism. I haven't checked out whether the error occurs
when older fixinclude scripts are used.
>Fix:
?
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-04-23  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-23  1:58 c/2751: Spurious warnings in gcc 2.95.3 <stdarg.h> include files rth
  -- strict thread matches above, loose matches on Subject: below --
2001-05-06  6:36 mtodorov

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).