diff options
Diffstat (limited to 'lib/verify.h')
-rw-r--r-- | lib/verify.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/verify.h b/lib/verify.h index c2d2a566706..c5c63ae97c6 100644 --- a/lib/verify.h +++ b/lib/verify.h @@ -215,6 +215,9 @@ template <int w> # define _GL_VERIFY(R, DIAGNOSTIC, ...) \ extern int (*_GL_GENSYM (_gl_verify_function) (void)) \ [_GL_VERIFY_TRUE (R, DIAGNOSTIC)] +# if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) +# pragma GCC diagnostic ignored "-Wnested-externs" +# endif #endif /* _GL_STATIC_ASSERT_H is defined if this code is copied into assert.h. */ |