Remove -Wno-long-long from default CXXFLAGS
It's no longer nonstandard in C++11 so there's no default warning for it.
This commit is contained in:
parent
1d5292fdee
commit
c685ae4aea
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ AC_ARG_ENABLE(compiler-flags, AS_HELP_STRING([--disable-compiler-flags],[Disable
|
||||||
|
|
||||||
AS_IF([test x$enable_compiler_flags != xno], [
|
AS_IF([test x$enable_compiler_flags != xno], [
|
||||||
CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter -std=gnu99 -pipe -g"
|
CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter -std=gnu99 -pipe -g"
|
||||||
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wno-unused-parameter -Wno-long-long -fno-strict-aliasing -pipe -g"
|
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -pipe -g"
|
||||||
AC_CXX_FLAG([-std=c++11])
|
AC_CXX_FLAG([-std=c++11])
|
||||||
AC_CXX_FLAG([-Wno-c++11-narrowing])
|
AC_CXX_FLAG([-Wno-c++11-narrowing])
|
||||||
AC_CXX_FLAG([-Wno-unused-local-typedefs])
|
AC_CXX_FLAG([-Wno-unused-local-typedefs])
|
||||||
|
|
Loading…
Reference in a new issue