|
From: | Reuben Thomas |
Subject: | Re: static_assert in G++ |
Date: | Thu, 10 Jan 2019 20:21:49 +0000 |
Hi Reuben,
> verify: Fix syntax error with GCC 4.6 in C++ mode.
>
> This is odd, since the GCC web page on C++11 support:
> https://gcc.gnu.org/projects/cxx-status.html#cxx11
>
> says that static assertions have been supported for C++ since GCC 4.3:
See the discussion on the mailing list:
https://lists.gnu.org/archive/html/bug-gnulib/2011-04/msg00115.html
$ g++-version 6.5.0 -S foo1.cc
$ g++-version 7.4.0 -S foo1.cc
$ g++-version 8.2.0 -S foo1.cc
- This will likely be supported by future GCC versions, in C++ mode.
+ This is supported by GCC 6.1.0 and later, in C++ mode.
[Prev in Thread] | Current Thread | [Next in Thread] |