|
Lagrange
|
Managing compiler warnings. More...
Macros | |
| #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_GCC |
| Ignore self move. | |
| #define | LA_IGNORE_SELF_MOVE_WARNING_BEGIN |
| #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 |
| #define | LA_IGNORE_ARRAY_BOUNDS_BEGIN |
| Ignore warning "out of bounds subscripts or offsets into arrays" This is used to bypass the following GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106247. | |
| #define | LA_IGNORE_ARRAY_BOUNDS_END |
Managing compiler warnings.
The following macros allows one to surgically disable specific warnings around a block of code. E.g.