Re: Re[2]: Why "'X' used but never defined" is a warning and not error in gcc?

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

 



On 2012-10-08 12:43:09 +0200, Oleg Endo wrote:
> Doesn't look so.  You can turn all warnings into errors by -Werror, but
> there's no option to control this particular warning individually.

It is possible to turn *particular* warnings into errors, not just
all warnings, with -Werror=<list_of_warnings>.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


[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