diff options
author | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-30 17:14:36 -0700 |
---|---|---|
committer | H. Peter Anvin (Intel) <hpa@zytor.com> | 2020-06-30 17:14:36 -0700 |
commit | a3db726f02be8ac285f51106070a04aca7ab0142 (patch) | |
tree | be35b568bba4a7b41008e391e6ab13bc3bd3ecf5 /config/unconfig.h | |
parent | 367350319b8c5d2a79f400915d7a51be9cb98209 (diff) | |
parent | 8877a3ddb08e5cb7cd60704380ccccb5bb5c36b2 (diff) | |
download | nasm-a3db726f02be8ac285f51106070a04aca7ab0142.tar.gz |
Merge remote-tracking branch 'github/nasm-2.15.xx'
Resolved Conflicts:
version
Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'config/unconfig.h')
-rw-r--r-- | config/unconfig.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/config/unconfig.h b/config/unconfig.h index d01c2b3e..c7d900fc 100644 --- a/config/unconfig.h +++ b/config/unconfig.h @@ -60,6 +60,12 @@ /* Define to 1 if compiled with the `-Wc90-c99-compat' compiler flag */ /* #undef CFLAGS_WC90_C99_COMPAT */ +/* Define to 1 if compiled with the `-Wc99-compat' compiler flag */ +/* #undef CFLAGS_WC99_COMPAT */ + +/* Define to 1 if compiled with the `-Wc99-extensions' compiler flag */ +/* #undef CFLAGS_WC99_EXTENSIONS */ + /* Define to 1 if compiled with the `-Werror' compiler flag */ /* #undef CFLAGS_WERROR */ @@ -225,6 +231,10 @@ functions */ /* #undef HAVE_FUNC_ATTRIBUTE_SENTINEL */ +/* Define to 1 if your compiler supports __attribute__((unused)) on functions + */ +/* #undef HAVE_FUNC_ATTRIBUTE_UNUSED */ + /* Define to 1 if your compiler supports __attribute__((alloc_size)) on function pointers */ /* #undef HAVE_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE */ @@ -265,6 +275,10 @@ pointers */ /* #undef HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL */ +/* Define to 1 if your compiler supports __attribute__((unused)) on function + pointers */ +/* #undef HAVE_FUNC_PTR_ATTRIBUTE_UNUSED */ + /* Define to 1 if you have the `getgid' function. */ /* #undef HAVE_GETGID */ @@ -714,6 +728,22 @@ # endif #endif +#ifndef unused_func +# ifdef HAVE_FUNC_ATTRIBUTE_UNUSED +# define unused_func __attribute__((unused)) +# else +# define unused_func +# endif +#endif + +#ifndef unused_func_ptr +# ifdef HAVE_FUNC_PTR_ATTRIBUTE_UNUSED +# define unused_func_ptr __attribute__((unused)) +# else +# define unused_func_ptr +# endif +#endif + #ifndef never_null # ifdef HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL # define never_null __attribute__((returns_nonnull)) |