mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 19:28:52 +02:00
configure: Disable -Wextra-tokens.
This commit is contained in:
parent
e99e2dad33
commit
008325d6e8
1 changed files with 6 additions and 0 deletions
|
@ -603,6 +603,12 @@ dnl rather than the rethrow. Unless throwing into a noexcept that way has UB in
|
||||||
dnl optimized build I really don't care and just want to type `throw;` thx.
|
dnl optimized build I really don't care and just want to type `throw;` thx.
|
||||||
CHARYBDIS_C_GCC_TRY_FLAGS([-Wno-terminate], charybdis_cv_c_gcc_w_terminate)
|
CHARYBDIS_C_GCC_TRY_FLAGS([-Wno-terminate], charybdis_cv_c_gcc_w_terminate)
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl List of compiler-specific / incompatible warning options
|
dnl List of compiler-specific / incompatible warning options
|
||||||
dnl
|
dnl
|
||||||
|
|
Loading…
Reference in a new issue