0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 17:08:20 +02:00

configure: No -Werror=return-type for clang due to remaining extern C linkage complaints.

This commit is contained in:
Jason Volk 2019-06-24 01:21:02 -06:00
parent fc89e02ff7
commit 30ee090663

View file

@ -631,7 +631,10 @@ dnl
dnl Uninitialized return values are not useful in this project; forgetting
dnl to return from a function is always a developer mistake here.
CHARYBDIS_C_GCC_TRY_FLAGS([-Werror=return-type], charybdis_cv_c_gcc_w_error_return_type)
AM_COND_IF([GCC],
[
CHARYBDIS_C_GCC_TRY_FLAGS([-Werror=return-type], charybdis_cv_c_gcc_w_error_return_type)
])
dnl
dnl List of warnings we suppress: