This commit changes several warning flags:
-Wno-error=sign-compare removed
-Wno-unused-value relegated to the glue code
-Wno-cast-function-type is sent to clang as well as GCC -Wno-macro-redefined and -Wno-string-plus-int added for clang -Wno-unused added for the entire library
-K&R-style declaration warnings silenced by -Wno-old-style-declaration (GCC) or -Wno-deprecated-non-prototype (clang)
-Wno-unused-command-line-argument to silence assembler
Also sets warning flags only if supported by the clang version in use; depends on PR#983.
This commit changes several warning flags: -Wno-error=sign-compare removed -Wno-unused-value relegated to the glue code -Wno-cast-function-type is sent to clang as well as GCC -Wno-macro-redefined and -Wno-string-plus-int added for clang -Wno-unused added for the entire library -K&R-style declaration warnings silenced by -Wno-old-style-declaration (GCC) or -Wno-deprecated-non-prototype (clang) -Wno-unused-command-line-argument to silence assembler
Also sets warning flags only if supported by the clang version in use; depends on PR#983.