Electroneum
warnings.h File Reference
#include <boost/preprocessor/stringize.hpp>
Include dependency graph for warnings.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PUSH_WARNINGS   _Pragma("GCC diagnostic push")
 
#define POP_WARNINGS   _Pragma("GCC diagnostic pop")
 
#define DISABLE_VS_WARNINGS(w)
 
#define DISABLE_GCC_WARNING   DISABLE_GCC_AND_CLANG_WARNING
 
#define DISABLE_CLANG_WARNING(w)
 
#define DISABLE_GCC_AND_CLANG_WARNING(w)   _Pragma(BOOST_PP_STRINGIZE(GCC diagnostic ignored BOOST_PP_STRINGIZE(-W##w)))
 

Macro Definition Documentation

◆ DISABLE_CLANG_WARNING

#define DISABLE_CLANG_WARNING (   w)

Definition at line 25 of file warnings.h.

◆ DISABLE_GCC_AND_CLANG_WARNING

#define DISABLE_GCC_AND_CLANG_WARNING (   w)    _Pragma(BOOST_PP_STRINGIZE(GCC diagnostic ignored BOOST_PP_STRINGIZE(-W##w)))

Definition at line 28 of file warnings.h.

◆ DISABLE_GCC_WARNING

#define DISABLE_GCC_WARNING   DISABLE_GCC_AND_CLANG_WARNING

Definition at line 24 of file warnings.h.

◆ DISABLE_VS_WARNINGS

#define DISABLE_VS_WARNINGS (   w)

Definition at line 18 of file warnings.h.

◆ POP_WARNINGS

#define POP_WARNINGS   _Pragma("GCC diagnostic pop")

Definition at line 17 of file warnings.h.

◆ PUSH_WARNINGS

#define PUSH_WARNINGS   _Pragma("GCC diagnostic push")

Definition at line 16 of file warnings.h.