Turning off deprecated warnings
Ian Lance Taylor
iant@google.com
Tue Jun 16 14:57:00 GMT 2009
Brian McGrew <brian@visionpro.com> writes:
> How do I turn off the 'deprecated conversion from string constant to char *'
> warning???
>
> I've searched all over and tried all sorts of -W options and I can't get rid
> of it. Right now I'm just trying to get a huge codebase to compile with
> gcc-4.4.0. I'll go back and fix warnings later, but this one warning is
> making it real hard to find anything else in my log files.
-Wno-write-strings
You can typically find the answer to such questions by using
-fdiagnostics-show-option.
Ian
More information about the Gcc-help
mailing list