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 @@ release : dist ../utils/release.sh
cppcheck:
cppcheck --quiet --error-exitcode=1 \
--inline-suppr \
--std=c++03 \
--std=c++11 \
--xml \
-D HAVE_ATTR_XATTR_H \
-D HAVE_SYS_EXTATTR_H \
@ -81,6 +81,6 @@ shellcheck:
# tab-width: 4
# c-basic-offset: 4
# End:
# vim600: expandtab sw=4 ts= fdm=marker
# vim600: expandtab sw=4 ts=4 fdm=marker
# vim<600: expandtab sw=4 ts=4
#