public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: "introduce no new bootstrap warning" criteria. was: Loop iv debugging, patch
@ 2001-01-14  0:22 Geoff Keating
  2001-01-14  3:31 ` "introduce no new bootstrap warning" criteria. was: Loop ivdebugging, patch Joseph S. Myers
  0 siblings, 1 reply; 8+ messages in thread
From: Geoff Keating @ 2001-01-14  0:22 UTC (permalink / raw)
  To: ghazi; +Cc: aj, dewar, dkorn, gcc, jsm28, robertlipe

> Date: Sat, 13 Jan 2001 07:33:46 -0500 (EST)
> From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
> Cc: aj@suse.de, dewar@gnat.com, dkorn@pixelpower.com, gcc@gcc.gnu.org,
>         jsm28@cam.ac.uk, robertlipe@usa.net
> 
> 
>  > From: Geoff Keating <geoffk@geoffk.org>
>  > 
>  > > From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
>  > >
>  > > I looked into what it would take to turn on -Werror and/or
>  > > -pedatic-errors and that doesn't seem possible.  There are too many
>  > > unfixable messages requiring a pragma silencer and also many warnings
>  > > only appear on unusual platforms so we'd have a real hard time getting
>  > > this to work without breaking bootstrap on lots of systems.  Plus any
>  > > time a new warning is added to -Wall, it would break systems until
>  > > completely silenced also.
>  > 
>  > Why do we have unfixable warnings in -Wall?  They're not supposed
>  > to be there.
> 
> Recall that if we activate -Werror, we must have zero warnings on all
> platforms, even old strange broken ones.

Perhaps we could only define -Werror on non-strange-broken platforms?

You know, like Linux, Solaris, Cygwin, AIX.  If you do those, you'll
cover probably 99% of the GCC developers.

> * On solaris, the system header definition of __GTHREAD_ONCE_INIT
> causes missing initializer warnings.  Generically, any warning caused
> by a macro defined in system headers but used in user code is trouble.
> Checking in_system_header doesn't work for these.

Fixincludes!  Fixincludes!  :-)

Actually, this is not unreasonable.  It's just as annoying for the
user to see these messages as it is for GCC.  They probably should be
fixed in fixincludes.

> * On systems where %p isn't supported, the backup method for printing
> pointers using appropriate sized integer specifiers always causes
> -Wformat warnings.  I don't think this one has a solution.

Ugh.  The warnings are actually accurate, so you don't want to just
remove them.  I guess these count as strange broken platforms.

-- 
- Geoffrey Keating <geoffk@geoffk.org>

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

end of thread, other threads:[~2001-01-15 11:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <14941.2331.949024.263257@taniwha.paradise.net.nz>
     [not found] ` <u84rz5uiu9.fsf@gromit.rhein-neckar.de>
2001-01-12  5:50   ` "introduce no new bootstrap warning" criteria. was: Loop iv debugging patch Robert Lipe
2001-01-12  6:13     ` "introduce no new bootstrap warning" criteria. was: Loop ivdebugging patch Joseph S. Myers
2001-01-14 23:30       ` "introduce no new bootstrap warning" criteria. was: Loop iv debugging patch Philipp Thomas
2001-01-15 11:35         ` Fergus Henderson
2001-01-12  7:09     ` Andreas Jaeger
2001-01-12 12:54     ` Toon Moene
2001-01-14  0:22 "introduce no new bootstrap warning" criteria. was: Loop iv debugging, patch Geoff Keating
2001-01-14  3:31 ` "introduce no new bootstrap warning" criteria. was: Loop ivdebugging, patch Joseph S. Myers
2001-01-14  4:01   ` Geoff Keating

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