mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
build: check for C++98 and 03 like the others
* m4/bison-cxx-std.m4 (BISON_CXX_COMPILE_STDCXX_98) (BISON_CXX_COMPILE_STDCXX_03): New. * configure.ac: Use them.
This commit is contained in:
@@ -73,8 +73,8 @@ AC_CACHE_CHECK([whether pragma GCC diagnostic push works],
|
||||
|
||||
AC_LANG_PUSH([C++])
|
||||
gl_WARN_ADD([-fno-exceptions], [NO_EXCEPTIONS_CXXFLAGS])
|
||||
gl_WARN_ADD([-std=c++98], [CXX98_CXXFLAGS])
|
||||
gl_WARN_ADD([-std=c++03], [CXX03_CXXFLAGS])
|
||||
BISON_CXX_COMPILE_STDCXX_98
|
||||
BISON_CXX_COMPILE_STDCXX_03
|
||||
BISON_CXX_COMPILE_STDCXX_11
|
||||
BISON_CXX_COMPILE_STDCXX_14
|
||||
BISON_CXX_COMPILE_STDCXX_17
|
||||
|
||||
Reference in New Issue
Block a user