Why "'X' used but never defined" is a warning and not error in gcc?
Vincent Lefevre
vincent+gcc@vinc17.org
Mon Oct 8 15:30:00 GMT 2012
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@vinc17.net> - 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)
More information about the Gcc-help
mailing list