Collin Funk wrote:
> +1 on adding it to manywarnings.
> ...
> Another example is
> -Wno-tautological-constant-out-of-range-compare which just warns you for
> writing portable code.

There are more than that. Which of the following warnings (that I found
annoying when using clang with GNU gettext) should we disable via
manywarnings.m4 by default?

-Wunused-function
-Winconsistent-dllimport
-Wreserved-id-macro
-Wundef
-Wmissing-field-initializers
-Wunused-parameter
-Wgnu-include-next
-Wimplicit-int-conversion
-Wsign-compare
-Wsign-conversion
-Wcomma
-Wunused-macros
-Wnonportable-system-include-path
-Wformat-nonliteral
-Wdeprecated-declarations
-Wtautological-unsigned-zero-compare
-Wused-but-marked-unused
-Wparentheses-equality
-Wstring-plus-int

Reference: https://clang.llvm.org/docs/DiagnosticsReference.html

Bruno




Reply via email to