This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wold-style-cast
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: <stl at caltech dot edu>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Thu, 04 Sep 2003 10:18:54 -0700
- Subject: Re: -Wold-style-cast
- References: <000101c372d2$c4ed98f0$3c9fd783@northwood>
"Stephan T. Lavavej" <stl@caltech.edu> writes:
...
> I don't know if gcc can be made to not warn about C casts in macros which
> are defined in a gcc system header, but it sure would be nice. Of course, C
> casts which don't appear in a macro but do appear at the point of use should
> probably be warned about. For example:
The only reason this hasn't been done is, no one has had the time to
do it yet. If you'd like to send in a patch, we will probably use it.
zw