0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-08 21:18:57 +02:00

configure: Set -Wreturn-type as error in clang; remove condition for gcc.

This commit is contained in:
Jason Volk 2020-03-09 12:58:33 -07:00
parent acf94cce00
commit f9a6381b8e

View file

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