This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 8 October 2012 11:32, Ilya Basin wrote:
> Is there a flag to turn this warning into an error? Is there a common
> way to find the warning flag from a message?

If you use a modern version of GCC it tells you the flag that controls
each warning.

In this case it tells you it is "enabled by default" so there is no
flag controlling this warning.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]