0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-25 15:04:10 +01:00

configure: Add -Wstringop-overflow=4 for GCC.

This commit is contained in:
Jason Volk 2023-01-15 17:14:46 -08:00
parent 40d22a6ff4
commit 50f795b713

View file

@ -872,6 +872,7 @@ AM_COND_IF([GCC],
RB_MAYBE_CWARN([-Wframe-larger-than=$FRAME_SIZE_WARNING], charybdis_cv_c_gcc_w_frame_larger_than)
RB_MAYBE_CWARN([-Walloca], charybdis_cv_c_gcc_w_alloca)
RB_MAYBE_CWARN([-Wvector-operation-performance], charybdis_cv_c_gcc_w_vector_operation_performance)
RB_MAYBE_CWARN([-Wstringop-overflow=4], charybdis_cv_c_gcc_w_stringop_overflow)
AM_COND_IF([DEBUG],
[