0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-31 19:08:59 +01:00

configure: Suppress deprecated/uninitialized warnings in release mode.

This commit is contained in:
Jason Volk 2023-03-24 19:07:51 -07:00
parent 999ef88b7f
commit 674b6489a4

View file

@ -956,10 +956,13 @@ AM_COND_IF([DEBUG],
]) ])
], [ ], [
RB_MAYBE_CWARN([-Wno-unknown-pragmas], charybdis_cv_c_gcc_w_no_unknown_pragmas) RB_MAYBE_CWARN([-Wno-unknown-pragmas], charybdis_cv_c_gcc_w_no_unknown_pragmas)
RB_MAYBE_CWARN([-Wno-deprecated-declarations], charybdis_cv_c_gcc_w_no_deprecated_declarations)
RB_MAYBE_CWARN([-Wno-deprecated], charybdis_cv_c_gcc_w_no_deprecated)
AM_COND_IF([CLANG], AM_COND_IF([CLANG],
[ [
RB_MAYBE_CWARN([-Wno-unknown-attributes], charybdis_cv_c_gcc_w_no_unknown_attributes) RB_MAYBE_CWARN([-Wno-unknown-attributes], charybdis_cv_c_gcc_w_no_unknown_attributes)
RB_MAYBE_CWARN([-Wno-uninitialized], charybdis_cv_c_gcc_w_no_uninitialized)
]) ])
AM_COND_IF([GCC], AM_COND_IF([GCC],