Disabling specific g++ warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux