Build system: Use -Wextra

BodgeMaster-unfinished
BodgeMaster 2022-07-23 10:54:05 +02:00
parent 6baff11ebd
commit d97e1a8336
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ if [ -z "$CXX" ]; then
CXX="c++"
fi
if [ -z "$CXXFLAGS" ]; then
CXXFLAGS="-std=c++20 -Wall"
CXXFLAGS="-std=c++20 -Wall -Wextra"
fi
CXX_WITH_FLAGS="$CXX $CXXFLAGS"

View File

@ -26,7 +26,7 @@ if [ -z "$CXX" ]; then
CXX="c++"
fi
if [ -z "$CXXFLAGS" ]; then
CXXFLAGS="-std=c++20 -Wall"
CXXFLAGS="-std=c++20 -Wall -Wextra"
fi
CXX_WITH_FLAGS="$CXX $CXXFLAGS"