This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wold-style-cast for g++, please ?
> Alexandre Oliva writes:
>> Here's a patch that creates -Wold-style-cast, produced whenever an
>> old-style cast is issued. I added it to -Wall too; it should be easy
>> to change this.
If the patch is applied as-is to the distribution, the following test
case should be fixed so that it does not produce unexpected warning
messages.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
Universidade Estadual de Campinas, SP, Brasil
warn5.diff