Removed -Wabi-tag. I'm not sure what its providing, and its too noisy with -std=c++03
parent
0a1cd8bb97
commit
0a17197fa7
|
|
@ -1609,7 +1609,7 @@ if [ "$HAVE_CXX03" -ne "0" ]; then
|
|||
if [ "$CXX" == "g++" ]; then
|
||||
CXXFLAGS="-DDEBUG -g2 -O2 -std=c++03 -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS -Wall -Wextra -Wno-unknown-pragmas -Wstrict-aliasing=3 -Wstrict-overflow -Waggressive-loop-optimizations -Wcast-align -Wwrite-strings -Wformat=2 -Wformat-security -Wtrampolines "
|
||||
if [ "$GCC_51_OR_ABOVE" -ne "0" ]; then
|
||||
CXXFLAGS+="-Wabi -Wabi-tag -Wodr"
|
||||
CXXFLAGS+="-Wabi -Wodr"
|
||||
fi
|
||||
else
|
||||
CXXFLAGS="-DDEBUG -g2 -O2 -std=c++03 -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS -Wall -Wextra -Wno-unknown-pragmas -Wstrict-overflow -Wcast-align -Wwrite-strings -Wformat=2 -Wformat-security "
|
||||
|
|
@ -1635,7 +1635,7 @@ if [ "$HAVE_CXX03" -ne "0" ]; then
|
|||
if [ "$CXX" == "g++" ]; then
|
||||
CXXFLAGS="-DNDEBUG -g2 -O2 -std=c++03 -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS -Wall -Wextra -Wno-unknown-pragmas -Wstrict-aliasing=3 -Wstrict-overflow -Waggressive-loop-optimizations -Wcast-align -Wwrite-strings -Wformat=2 -Wformat-security -Wtrampolines "
|
||||
if [ "$GCC_51_OR_ABOVE" -ne "0" ]; then
|
||||
CXXFLAGS+="-Wabi -Wabi-tag -Wodr"
|
||||
CXXFLAGS+="-Wabi -Wodr"
|
||||
fi
|
||||
else
|
||||
CXXFLAGS="-DNDEBUG -g2 -O2 -std=c++03 -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -DCRYPTOPP_NO_UNALIGNED_DATA_ACCESS -Wall -Wextra -Wno-unknown-pragmas -Wstrict-overflow -Wcast-align -Wwrite-strings -Wformat=2 -Wformat-security "
|
||||
|
|
@ -1666,7 +1666,7 @@ if [ "$HAVE_CXX11" -ne "0" ]; then
|
|||
if [ "$CXX" == "g++" ]; then
|
||||
CXXFLAGS="-DDEBUG -g2 -O2 -std=c++11 -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -Wall -Wextra -Wno-unknown-pragmas -Wstrict-aliasing=3 -Wstrict-overflow -Waggressive-loop-optimizations -Wcast-align -Wwrite-strings -Wformat=2 -Wformat-security -Wtrampolines "
|
||||
if [ "$GCC_51_OR_ABOVE" -ne "0" ]; then
|
||||
CXXFLAGS+="-Wabi -Wabi-tag -Wodr"
|
||||
CXXFLAGS+="-Wabi -Wodr"
|
||||
fi
|
||||
else
|
||||
CXXFLAGS="-DDEBUG -g2 -O2 -std=c++11 -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -Wall -Wextra -Wno-unknown-pragmas -Wstrict-overflow -Wcast-align -Wwrite-strings -Wformat=2 -Wformat-security "
|
||||
|
|
@ -1692,7 +1692,7 @@ if [ "$HAVE_CXX11" -ne "0" ]; then
|
|||
if [ "$CXX" == "g++" ]; then
|
||||
CXXFLAGS="-DNDEBUG -g2 -O2 -std=c++11 -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -Wall -Wextra -Wno-unknown-pragmas -Wstrict-aliasing=3 -Wstrict-overflow -Waggressive-loop-optimizations -Wcast-align -Wwrite-strings -Wformat=2 -Wformat-security -Wtrampolines "
|
||||
if [ "$GCC_51_OR_ABOVE" -ne "0" ]; then
|
||||
CXXFLAGS+="-Wabi -Wabi-tag -Wodr"
|
||||
CXXFLAGS+="-Wabi -Wodr"
|
||||
fi
|
||||
else
|
||||
CXXFLAGS="-DNDEBUG -g2 -O2 -std=c++11 -DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -Wall -Wextra -Wno-unknown-pragmas -Wstrict-overflow -Wcast-align -Wwrite-strings -Wformat=2 -Wformat-security "
|
||||
|
|
|
|||
Loading…
Reference in New Issue