diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-03-24 21:21:42 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-03-24 21:21:42 +0200 |
commit | aced49eee334d9905208cda470d1cb14393613a2 (patch) | |
tree | 8cc136604c66040ff95cf513e5333169cca226bb /support/verify.h | |
parent | fadddc026c7a3d9e664c65ff3f3895af9ba28359 (diff) | |
download | egawk-aced49eee334d9905208cda470d1cb14393613a2.tar.gz egawk-aced49eee334d9905208cda470d1cb14393613a2.tar.bz2 egawk-aced49eee334d9905208cda470d1cb14393613a2.zip |
Sync support files from GNULIB.
Diffstat (limited to 'support/verify.h')
-rw-r--r-- | support/verify.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/support/verify.h b/support/verify.h index 3b57ddee..6930645a 100644 --- a/support/verify.h +++ b/support/verify.h @@ -1,6 +1,6 @@ /* Compile-time assert-like macros. - Copyright (C) 2005-2006, 2009-2018 Free Software Foundation, Inc. + Copyright (C) 2005-2006, 2009-2019 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ here generates easier-to-read diagnostics when verify (R) fails. Define _GL_HAVE_STATIC_ASSERT to 1 if static_assert works as per C++11. - 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. Use this only with GCC. If we were willing to slow 'configure' down we could also use it with other compilers, but since this @@ -36,9 +36,7 @@ && !defined __cplusplus) # define _GL_HAVE__STATIC_ASSERT 1 #endif -/* The condition (99 < __GNUC__) is temporary, until we know about the - first G++ release that supports static_assert. */ -#if (99 < __GNUC__) && defined __cplusplus +#if (6 <= __GNUC__) && defined __cplusplus # define _GL_HAVE_STATIC_ASSERT 1 #endif |