Ruby  3.4.0dev (2024-11-05 revision e440268d51fe02b303e3817a7a733a0dac1c5091)
warning.h
Go to the documentation of this file.
1 #ifndef RBIMPL_ATTR_WARNING_H /*-*-C++-*-vi:se ft=cpp:*/
2 #define RBIMPL_ATTR_WARNING_H
24 
26 #if RBIMPL_HAS_ATTRIBUTE(warning)
27 # define RBIMPL_ATTR_WARNING(msg) __attribute__((__warning__ msg))
28 #else
29 # define RBIMPL_ATTR_WARNING(msg) /* void */
30 #endif
31 
32 #endif /* RBIMPL_ATTR_WARNING_H */
Defines RBIMPL_HAS_ATTRIBUTE.