build_no_warnings: add a comment about useful flags - sfeed_tests - sfeed tests and RSS and Atom files
(HTM) git clone git://git.codemadness.org/sfeed_tests
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2219225eb801fcf96a940a641aff328472635579
(DIR) parent 3f010d60548bf01d805d5bb9ebf829acba5681f1
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 22 Sep 2023 13:49:31 +0200
build_no_warnings: add a comment about useful flags
Diffstat:
M build_no_warnings.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/build_no_warnings.sh b/build_no_warnings.sh
@@ -1,4 +1,7 @@
#!/bin/sh
+# other useful flags, but may report many false-positives:
+# -Wmissing-prototypes
+# -Weverything
# fail on any warnings/errors (-Werror)
set +e
@@ -8,7 +11,6 @@ JOBS=4
make clean
make -j$JOBS CC="gcc -std=c99" CFLAGS="-Wall -Wextra -pedantic -Werror -Wno-unused-parameter -Wno-implicit-fallthrough -Wshadow"
-# NOTE: -Weverything can be useful too sometimes.
make clean
make -j$JOBS CC="clang" CFLAGS="-Wall -Wextra -pedantic -Werror -Wno-unused-parameter -Wno-implicit-fallthrough -Wshadow -Wreserved-macro-identifier"