On Thu, 10 Jan 2019 at 20:08, Bruno Haible <br...@clisp.org> wrote:

> 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


Thanks for the pointer!


> $ g++-version 6.5.0 -S foo1.cc
> $ g++-version 7.4.0 -S foo1.cc
> $ g++-version 8.2.0 -S foo1.cc
>

Good to know it now does work.

-   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.
>

Would it be good to say something about "by default", so that future
readers aren't confused as I was?

-- 
https://rrt.sc3d.org

Reply via email to