diff --git a/scripts/build.sh b/scripts/build.sh index cf354fa..643be55 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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" diff --git a/scripts/test.sh b/scripts/test.sh index 936c434..fc289e1 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -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"