g++ command line checking

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

 



Hello

I noticed g++ ignores -W as I understand it that alone doesn't turn anything on?
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

Also may I ask if specifying both -pedantic -Wpedantic be an error? They are the same as I understand. g++ doesn't reject them both being specified.

Another example is -O1 -O0 -O3, the later -03 seems to be used. Maybe nice to say too many optimization options specified?

Cheers, Jonny



[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