PLaSK library
|
This file contains portable utils to manage (mainly disable for a given fragment of code) compiler warnings. More...
Go to the source code of this file.
Macros | |
#define | PLASK_PRAGMA(x) _Pragma(#x) |
allows for putting pragma from macro | |
#define | PLASK_UNUSED(arg) |
#define | PLASK_NO_CONVERSION_WARNING_BEGIN |
beginning from the place this macro is put, disable warnings about possibly danger conversions (with precision loss, etc.) | |
#define | PLASK_NO_UNUSED_VARIABLE_WARNING_BEGIN |
beginning from the place this macro is put, disable warnings about unused variables | |
#define | PLASK_NO_WARNING_END |
ends the fragment where some warnings were disabled by PLASK_NO_*_WARNING_BEGIN macro (must be used twice to end two successive PLASK_NO_*_WARNING_BEGIN) | |
This file contains portable utils to manage (mainly disable for a given fragment of code) compiler warnings.
Definition in file warnings.hpp.
#define PLASK_NO_CONVERSION_WARNING_BEGIN |
beginning from the place this macro is put, disable warnings about possibly danger conversions (with precision loss, etc.)
Definition at line 71 of file warnings.hpp.
#define PLASK_NO_UNUSED_VARIABLE_WARNING_BEGIN |
beginning from the place this macro is put, disable warnings about unused variables
Definition at line 74 of file warnings.hpp.
#define PLASK_NO_WARNING_END |
ends the fragment where some warnings were disabled by PLASK_NO_*_WARNING_BEGIN macro (must be used twice to end two successive PLASK_NO_*_WARNING_BEGIN)
Definition at line 77 of file warnings.hpp.
#define PLASK_PRAGMA | ( | x | ) | _Pragma(#x) |
allows for putting pragma from macro
Definition at line 25 of file warnings.hpp.
#define PLASK_UNUSED | ( | arg | ) |
Definition at line 33 of file warnings.hpp.