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]

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>


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