Build system: Use -Wextra
parent
6baff11ebd
commit
d97e1a8336
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue