This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: "introduce no new bootstrap warning" criteria. was: Loop iv debugging, patch
- To: rra at stanford dot edu
- Subject: Re: "introduce no new bootstrap warning" criteria. was: Loop iv debugging, patch
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Sun, 14 Jan 2001 17:34:49 -0500 (EST)
- Cc: gcc at gcc dot gnu dot org
> From: Russ Allbery <rra at stanford dot edu>
>
> Another problem that I ran into recently is the SIG_DFL macro in
> <sys/signal.h> on Solaris causing warnings with -Wstrict-prototypes,
> which makes it harder to track down missing prototypes in old code
> that used to be K&R (and similarly prevents -Werror from being used,
> which is what I'd originally intended on doing). Fixing things like
> that would require adding a prototype to a function pointer constant,
> which doesn't sound like very much fun.
I put code in the trunk in August to avoid prototype warnings for
function pointer casts on integer constants for exactly this problem.
However not all bogus warnings are addressable like this one was.
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Qwest Internet Solutions