I noticed this in lib/verify.h:
/* The condition (99 < __GNUC__) is temporary, until we know about the
first G++ release that supports static_assert. */
#if (99 < __GNUC__) && defined __cplusplus
# define _GL_HAVE_STATIC_ASSERT 1
#endif
The relevant commit is:
commit ef1271787
Author: Bruno
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:
h
On Thu, 10 Jan 2019 at 20:08, Bruno Haible 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
Reuben Thomas wrote:
> Would it be good to say something about "by default", so that future
> readers aren't confused as I was?
Comments are good. But we can't put all possible thoughts and considerations
into comments. Readers can look up the mailing list discussion, based on the
date of the comm