mirror of
https://github.com/matrix-construct/construct
synced 2024-05-18 10:53:48 +02:00
configure: Disable -Wextra-tokens.
This commit is contained in:
parent
e99e2dad33
commit
008325d6e8
|
@ -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.
|
||||
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 List of compiler-specific / incompatible warning options
|
||||
dnl
|
||||
|
|
Loading…
Reference in a new issue