build: more gcc warnings.

This commit is contained in:
Martin Preuss
2024-04-17 22:26:47 +02:00
parent 1050ee1c75
commit 8bb60fdba7

8
0BUILD
View File

@@ -74,7 +74,13 @@
<choices>TRUE FALSE</choices> <choices>TRUE FALSE</choices>
</option> </option>
<ifVarMatches name="option_debug" value="TRUE" > <ifVarMatches name="option_debug" value="TRUE" >
<setVar name="CFLAGS">-ggdb -Wall -Og</setVar> <setVar name="CFLAGS">
-ggdb -Wall -Og -W
-Wbad-function-cast -Wmissing-parameter-type
-Wnested-externs -Wstringop-overflow=2
-Wdeclaration-after-statement -Wpointer-sign
-Wunused-parameter
</setVar>
<setVar name="CXXFLAGS">-ggdb -Wall -Og</setVar> <setVar name="CXXFLAGS">-ggdb -Wall -Og</setVar>
</ifVarMatches> </ifVarMatches>