diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-03-14 13:26:57 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-03-23 10:15:11 +0100 |
commit | 01855ca328065fb9999d419a52d46731904a197f (patch) | |
tree | 89d9e4bd47ab81d70bd866859eb8d46ab4f46a4e /m4 | |
parent | 225bc5836a031818de0e45fec778e299c62831cd (diff) | |
download | bison-01855ca328065fb9999d419a52d46731904a197f.tar.gz |
warnings: don't use _Noreturn with G++ 4.7 in C++98 mode
The timevar and bitset modules now use the c99 module which causes
$CXX to now include -std=gnu++11 when possible. Unfortunately, G++
4.7 does not implement [[noreturn]] in C++11 mode, so our tests of
glr.cc (which uses _Noreturn) fail with
input.cc:954:1: error: expected unqualified-id before '[' token
right before [[noreturn]]. 4.8 works fine.
* data/skeletons/c.m4 (b4_attribute_define): Do not use [[noreturn]]
with GCC 4.7.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/.gitignore b/m4/.gitignore index a66d8661..f8c49fc6 100644 --- a/m4/.gitignore +++ b/m4/.gitignore @@ -198,3 +198,4 @@ /libtextstyle.m4 /rename.m4 /rmdir.m4 +/std-gnu11.m4 |