From: Groepaz (groepaz_at_gmx.net)
Date: 2002-12-12 21:46:24
On Thursday 12 December 2002 21:25, Ullrich von Bassewitz wrote: > Such conversions are legal C, and I think people will hate me if I add a > warning for this. gcc (in C mode) does not even warn when comparing signed > and unsigned types (with -Wall), which is quite problematic. In C++ mode, > gcc will output warnings for comparisons, but not for conversions (also > with -Wall). unrelated, but -Wall -W will give you all these warnings (and many more :o))... quite useful it is indeed, frequently helps me to fix certain quirks in old code :=P (-W adds all the warnings usually only active in cpp mode if i am not mistaken) -- ___ ___ .___________________ .___________ _______. c=64 / | \| \__ ___/ \ \_ _____/ \ \ [groepaz] gb / ' \ | | | / \ / \ | __)_ / | \ gp32 cgb \ . / | | |/ ' \| \/ | \ psx gba \___|_ /|___| |____|\____|__ /_______ /\____|__ / dc -----\/-----'---------------\/--------\/---------\/ http://www.hitmen-console.org Hitmen WWW Headquarters http://fly.to/hitmen-groepaz my personal playground http://rr.c64.org/silversurfer home of the RR debugger ftp.musoftware.de/pub/groepaz cc65 dump site ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-12-12 21:48:35 CET