diff --git a/CODING b/CODING index e0a81f89e4..1bd62baf08 100644 --- a/CODING +++ b/CODING @@ -306,13 +306,13 @@ the fix is to mark that warning as ignored, but only for clang. For example: # endif #endif -If the source cannot be changed to add a pragma, you might be abe to use the +If the source cannot be changed to add a pragma, you might be able to use the autoconf function AX_APPEND_COMPILE_FLAGS to create a new macro that disables the warning and then use macro for the build options for that file. For an example, see how the autoconf macro CFLAGS_NOIMPLICIT_FALLTHROUGH is defined and used. -Finally if there isn't a way to disable the specific warning, you will need to +Finally, if there isn't a way to disable the specific warning, you will need to disable all warnings for the file in question. You can do this by supplying the autoconf macro @CFLAGS_NOERROR@ in the build options for the file. For example: