Build system: Use -Wextra
parent
6baff11ebd
commit
d97e1a8336
|
@ -26,7 +26,7 @@ if [ -z "$CXX" ]; then
|
||||||
CXX="c++"
|
CXX="c++"
|
||||||
fi
|
fi
|
||||||
if [ -z "$CXXFLAGS" ]; then
|
if [ -z "$CXXFLAGS" ]; then
|
||||||
CXXFLAGS="-std=c++20 -Wall"
|
CXXFLAGS="-std=c++20 -Wall -Wextra"
|
||||||
fi
|
fi
|
||||||
CXX_WITH_FLAGS="$CXX $CXXFLAGS"
|
CXX_WITH_FLAGS="$CXX $CXXFLAGS"
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ if [ -z "$CXX" ]; then
|
||||||
CXX="c++"
|
CXX="c++"
|
||||||
fi
|
fi
|
||||||
if [ -z "$CXXFLAGS" ]; then
|
if [ -z "$CXXFLAGS" ]; then
|
||||||
CXXFLAGS="-std=c++20 -Wall"
|
CXXFLAGS="-std=c++20 -Wall -Wextra"
|
||||||
fi
|
fi
|
||||||
CXX_WITH_FLAGS="$CXX $CXXFLAGS"
|
CXX_WITH_FLAGS="$CXX $CXXFLAGS"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue