Ruby
3.3.7p123 (2025-01-15 revision be31f993d7fa0219d85f7b3c694d454da4ecc10b)
include
ruby
internal
attr
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
23
#include "
ruby/internal/has/attribute.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 */
attribute.h
Defines RBIMPL_HAS_ATTRIBUTE.
Generated by
1.13.2