-Wold-style-cast for g++, please ?

Alexandre Oliva oliva@dcc.unicamp.br
Fri Sep 26 00:04:00 GMT 1997


> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn5.diff
Type: text/x-diff
Size: 568 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/19970926/1ec29eb1/attachment.bin>


More information about the Gcc mailing list