Re: -Werror for certain warnings?

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

 



Hi Erik,

> How is [treating specific warnings as errors] supposed to be done?

Enable just the warnings you want to be treated as errors and use the
-Werror switch.

I do not believe* there is the ability to promote specific warnings (other
than -Werror-implicit-function-declaration) to be treated as errors.

That would be a nice enhancement to GCC.

HTH,
--Eljay

* Always the possibility that I may be mistaken.


[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