Supported cppcheck 2.10(and changed std from c++03 to c++11 for RHEL7)

This commit is contained in:
Takeshi Nakatani
2023-06-20 15:18:54 +00:00
committed by Andrew Gaul
parent 38dc65180b
commit cb3dc28e6e
6 changed files with 20 additions and 13 deletions

View File

@ -34,7 +34,7 @@ AC_CHECK_HEADERS([attr/xattr.h])
AC_CHECK_HEADERS([sys/extattr.h])
AC_CHECK_FUNCS([fallocate])
CXXFLAGS="$CXXFLAGS -Wall -fno-exceptions -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=3"
CXXFLAGS="$CXXFLAGS -Wall -fno-exceptions -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=3 -std=c++11"
dnl ----------------------------------------------
dnl For macOS