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 Haible <br...@clisp.org> Date: Sat Apr 9 02:12:11 2011 +0200 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: Static assertions N1720 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html> GCC 4.3 <https://gcc.gnu.org/gcc-4.3/changes.html> __cpp_static_assert >= 200410 Assuming I'm failing to understand something, could the comment in verify.h be clarified as to what exactly is missing, if indeed it still is? -- https://rrt.sc3d.org