This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Suppressing particular warnings for particular lines of code
- From: Yang Zhang <yanghatespam at gmail dot com>
- To: GCC-help <gcc-help at gcc dot gnu dot org>
- Date: Mon, 01 Dec 2008 05:10:36 -0500
- Subject: 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/