Ruby: internal/warnings.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros
warnings.h File Reference

Internal header to suppres / mandate warnings. More...

`#include "ruby/internal/warning_push.h"`

Go to the source code of this file.

## Macros
#define | COMPILER_WARNING_PUSH RBIMPL_WARNING_PUSH()
#define | COMPILER_WARNING_POP RBIMPL_WARNING_POP()
#define | COMPILER_WARNING_ERROR(flag) RBIMPL_WARNING_ERROR(flag)
#define | COMPILER_WARNING_IGNORED(flag) RBIMPL_WARNING_IGNORED(flag)

## Detailed Description

Internal header to suppres / mandate warnings.

Author
  Ruby developers ruby-.nosp@m.core.nosp@m.@ruby.nosp@m.-lan.nosp@m.g.org

Copyright
  This file is a part of the programming language Ruby. Permission is hereby granted, to either redistribute and/or modify this file, provided that the conditions mentioned in the file COPYING are met. Consult the file for details.

Definition in file warnings.h.

## Macro Definition Documentation

## ◆ COMPILER_WARNING_ERROR

#define COMPILER_WARNING_ERROR | ( |  | flag | ) | RBIMPL_WARNING_ERROR(flag)

Definition at line 15 of file warnings.h.

## ◆ COMPILER_WARNING_IGNORED

#define COMPILER_WARNING_IGNORED | ( |  | flag | ) | RBIMPL_WARNING_IGNORED(flag)

Definition at line 16 of file warnings.h.

## ◆ COMPILER_WARNING_POP

#define COMPILER_WARNING_POP RBIMPL_WARNING_POP()

Definition at line 14 of file warnings.h.

## ◆ COMPILER_WARNING_PUSH

#define COMPILER_WARNING_PUSH RBIMPL_WARNING_PUSH()

Definition at line 13 of file warnings.h.