This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]