This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wold-style-cast and system headers
- To: Zack Weinberg <zack at rabi dot columbia dot edu>
- Subject: Re: -Wold-style-cast and system headers
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 06 Jul 1999 23:02:47 -0600
- cc: Joe Buck <jbuck at synopsys dot com>, espie at quatramaran dot ens dot fr, egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199907070417.AAA14049@blastula.phys.columbia.edu>you write:
> What about disabling -Wold-style-cast for `system headers' (as defined by
> the preprocessor) or inside extern "C" blocks? We do similar things with
> other warnings, and this is much lower impact than mucking with
> fixincludes.
That's a much more sensible thing to consider. However, you're going to
have a lot of trouble dealing with macros, at least until we're using cpplib by
default for C & C++.
jeff