Go to the documentation of this file. 1 #ifndef _GL_WARN_ON_USE 3 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) 5 # define _GL_WARN_ON_USE(function, message) \ 6 extern __typeof__ (function) function __attribute__ ((__warning__ (message))) 7 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 9 # define _GL_WARN_ON_USE(function, message) \ 10 extern __typeof__ (function) function 12 # define _GL_WARN_ON_USE(function, message) \ 13 _GL_WARN_EXTERN_C int _gl_warn_on_use 23 #ifndef _GL_WARN_ON_USE_CXX 24 # if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) 25 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ 26 extern rettype function parameters_and_attributes \ 27 __attribute__ ((__warning__ (msg))) 28 # elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING 30 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ 31 extern rettype function parameters_and_attributes 33 # define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ 34 _GL_WARN_EXTERN_C int _gl_warn_on_use 40 #ifndef _GL_WARN_EXTERN_C 41 # if defined __cplusplus 42 # define _GL_WARN_EXTERN_C extern "C" 44 # define _GL_WARN_EXTERN_C extern