This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Suppressing particular warnings for particular lines of code


In Java, you can insert @SuppressWarnings(...) annotations before a line to tell javac to suppress certain warnings for that line. Is there anything similar for gcc?
--
Yang Zhang
http://www.mit.edu/~y_z/



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