------- Comment #3 from pinskia at gcc dot gnu dot org 2010-08-09 21:28 ------- (In reply to comment #2) > I want to disable warnings for particular lines of code rather than whole > files.
See http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas And http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01255.html This has already been fixed for 4.6.0. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45203