0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

configure: Use -Wno-endif-labels rather than -Wno-extra-tokens.

This commit is contained in:
Jason Volk 2019-05-28 14:51:17 -07:00
parent edc7ca6af8
commit b8744b2a8b

View file

@ -607,7 +607,7 @@ dnl This warning is disabled to allow preprocessor statements like #endif to
dnl contain text on the same line. This is used for example to write the
dnl identifier in the matching prior #ifdef, which has no actual effect except
dnl clarity.
CHARYBDIS_C_GCC_TRY_FLAGS([-Wno-extra-tokens], charybdis_cv_c_gcc_w_extra_tokens)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wno-endif-labels], charybdis_cv_c_gcc_w_endif_labels)
dnl
dnl List of compiler-specific / incompatible warning options