Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>
pull/583/head
Florian Fleissner 6 years ago
parent 051ad05068
commit 6c68266504

@ -35,17 +35,17 @@
// This enables suppress only those compiler warnings that are safe to // This enables suppress only those compiler warnings that are safe to
// silence without using global flags as -Wno... // silence without using global flags as -Wno...
// //
// Use e.g. as // Use e.g. as
// //
#if 0 // Not part of the example #if 0 // Not part of the example
// Suppress Warnings for unused variables // Suppress Warnings for unused variables
COMPILER_DIAG_OFF(unused-variable) COMPILER_DIAG_OFF(unused - variable)
// Place code here that generates unavoidable unused variables // Place code here that generates unavoidable unused variables
COMPILER_DIAG_ON(unused-variable) COMPILER_DIAG_ON(unused - variable)
// From this point onward, the compiler continues to warn for // From this point onward, the compiler continues to warn for
// unused variables. // unused variables.
#endif // Not part of the example #endif // Not part of the example

Loading…
Cancel
Save