qxLib
Macros
suppress_warnings.h File Reference
#include <qx/macros/config.h>

Go to the source code of this file.

Macros

#define QX_PUSH_SUPPRESS_ALL_WARNINGS()   _QX_PUSH_SUPPRESS_ALL_WARNINGS()
 Disable all warnings.
 
#define QX_POP_SUPPRESS_WARNINGS()   _QX_POP_SUPPRESS_WARNINGS()
 Enable all warnings.
 
#define QX_PUSH_SUPPRESS_MSVC_WARNINGS(warnings)   _QX_PUSH_SUPPRESS_MSVC_WARNINGS(warnings)
 Disable specified MSVC warnings. More...
 
#define QX_DISABLE_MSVC_WARNINGS(warnings)   _QX_DISABLE_MSVC_WARNINGS(warnings)
 Force disable MSVC warnings, including all nested header includes. More...
 
#define QX_RESTORE_MSVC_WARNINGS(warnings)   _QX_RESTORE_MSVC_WARNINGS(warnings)
 Enable warnings after QX_DISABLE_MSVC_WARNINGS. More...
 

Detailed Description

Author
Khrapov
Date
11.11.2020

Definition in file suppress_warnings.h.

Macro Definition Documentation

◆ QX_DISABLE_MSVC_WARNINGS

#define QX_DISABLE_MSVC_WARNINGS (   warnings)    _QX_DISABLE_MSVC_WARNINGS(warnings)

Force disable MSVC warnings, including all nested header includes.

Note
Prefer using QX_PUSH_SUPPRESS_MSVC_WARNINGS and QX_POP_SUPPRESS_WARNINGS
Parameters
warnings- MSVC warnings numbers separated by space

Definition at line 133 of file suppress_warnings.h.

◆ QX_PUSH_SUPPRESS_MSVC_WARNINGS

#define QX_PUSH_SUPPRESS_MSVC_WARNINGS (   warnings)    _QX_PUSH_SUPPRESS_MSVC_WARNINGS(warnings)

Disable specified MSVC warnings.

Parameters
warnings- MSVC warnings numbers separated by space

Definition at line 126 of file suppress_warnings.h.

◆ QX_RESTORE_MSVC_WARNINGS

#define QX_RESTORE_MSVC_WARNINGS (   warnings)    _QX_RESTORE_MSVC_WARNINGS(warnings)

Enable warnings after QX_DISABLE_MSVC_WARNINGS.

Parameters
warnings- MSVC warnings numbers separated by space

Definition at line 139 of file suppress_warnings.h.