1 #ifndef INTERNAL_WARNINGS_H /*-*-C-*-vi:se ft=c:*/
2 #define INTERNAL_WARNINGS_H
4 * @author Ruby developers <ruby-core@ruby-lang.org>
5 * @copyright This file is a part of the programming language Ruby.
6 * Permission is hereby granted, to either redistribute and/or
7 * modify this file, provided that the conditions mentioned in the
8 * file COPYING are met. Consult the file for details.
9 * @brief Internal header to suppress / mandate warnings.
11 #include "ruby/internal/warning_push.h"
12 #define COMPILER_WARNING_PUSH RBIMPL_WARNING_PUSH()
13 #define COMPILER_WARNING_POP RBIMPL_WARNING_POP()
14 #define COMPILER_WARNING_ERROR(flag) RBIMPL_WARNING_ERROR(flag)
15 #define COMPILER_WARNING_IGNORED(flag) RBIMPL_WARNING_IGNORED(flag)
16 #endif /* INTERNAL_WARNINGS_H */