Hi Scott,
Warnings are actually a good thing, that forces you to write cleaner, platform independent code. As the man page indicates: "Warnings are diagnostic messages that report constructions which are not inherently erroneous but which are risky or suggest there may have been an error. "
However, if you still want to disable warnings, try the different warning options as specified in the GCC (1) man page. The -w (Inhibit all warning messages) one is the one you probably want, and you want to place it in the compiler parameters. Look at your automatically generated make file to insure that it is actually present.
If that doesn't work, try -fsyntax-only also. I compile with -Wall, and force myself to clean up the code till the warnings go away. This is not viable for h files though that are part of the standard libraries, and some have significant numbers (>150) of warnings in them.
Scott <fre...@ve...> wrote:
Is there a way to turn Warnings off in the C Compiler?
I'd like it to just show Errors in compiler / compiler log
windows, to make tracking down Errors more visible...
"Inhibit all warning messages" is checked in the
C compiler settings, tab......
But this seems to do nothing?
Cheers,
Scott.
Alfred P. Reaud
|