Managing compiler warnings.
More...
|
#define | LA_IGNORE_SHADOW_WARNING_BEGIN |
| Ignore shadow warnings.
|
|
#define | LA_IGNORE_SHADOW_WARNING_END |
|
#define | LA_IGNORE_DEPRECATION_WARNING_BEGIN |
| Ignore deprecation warnings.
|
|
#define | LA_IGNORE_DEPRECATION_WARNING_END |
|
#define | LA_IGNORE_UNUSED_TYPEDEF_BEGIN |
| Ignore unused local typedefs.
|
|
#define | LA_IGNORE_UNUSED_TYPEDEF_END |
|
#define | LA_IGNORE_EXIT_TIME_DTOR_WARNING_BEGIN |
| Ignore exit time destructors.
|
|
#define | LA_IGNORE_EXIT_TIME_DTOR_WARNING_END |
|
#define | LA_IGNORE_DOCUMENTATION_WARNING_BEGIN |
| Ignore documentation errors.
|
|
#define | LA_IGNORE_DOCUMENTATION_WARNING_END |
|
#define | LA_IGNORE_SELF_ASSIGN_WARNING_BEGIN |
| Ignore self assign overloaded.
|
|
#define | LA_IGNORE_SELF_ASSIGN_WARNING_END |
|
#define | LA_IGNORE_SELF_MOVE_WARNING_BEGIN |
| Ignore self move.
|
|
#define | LA_IGNORE_SELF_MOVE_WARNING_END |
|
#define | LA_IGNORE_SWITCH_ENUM_WARNING_BEGIN |
| Ignore switch enum.
|
|
#define | LA_IGNORE_SWITCH_ENUM_WARNING_END |
|
#define | LA_IGNORE_NONVOID_NORETURN_WARNING_BEGIN |
| Ignore warning "function declared with 'noreturn' has non-void return type".
|
|
#define | LA_IGNORE_NONVOID_NORETURN_WARNING_END |
|
#define | LA_IGNORE(x) |
| Ignore x to avoid an unused variable warning.
|
|
#define | LA_IGNORE_RANGE_LOOP_ANALYSIS_BEGIN |
| Ignore range loop variable may be a copy.
|
|
#define | LA_IGNORE_RANGE_LOOP_ANALYSIS_END |
|
Managing compiler warnings.
The following macros allows one to surgically disable specific warnings around a block of code. E.g.
#include <lagrange/utils/warning.h>
<code that may cause warning>
LA_IGNORE_DEPRECATION_WARNING_END
#define LA_IGNORE_DEPRECATION_WARNING_BEGIN
Ignore deprecation warnings.
Definition: warning.h:76