This is the mail archive of the gcc@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: cc1.exe: warnings being treated as errors


On 26 September 2011 09:33, Jon Grant wrote:
> For example: -Wall means I see "control reaches end of non-void function"
> messages, but doesn't output "cc1.exe: all warnings turned on"

But it does tell you which option that warning came from: [-Wreturn-type]

So if you want to disable it you can use -Wno-return-type

If you want to make it a warning not an error you can stop using
-Werror, so you get a notice that's in use.

Feel free to request a new option in Bugzilla to suppress the note,
that's the right place for this discussion.


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