This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Disabling specific g++ warnings
- From: Pierre Sarrazin <sarrazip at sympatico dot ca>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 7 Oct 2005 10:32:03 -0400
- Subject: Disabling specific g++ warnings
Hi. How do I tell g++ (3.4.2) to disable the following warnings
specifically (without disabling a whole class of warnings)?
passing `float' for converting 1 of `void foo(int)'
converting to `int' from `float'
no newline at end of file
The code is currently compiled with options -Wall and -W.
Thanks.
--
Pierre Sarrazin <sarrazip at sympatico dot ca>