mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 11:18:51 +02:00
configure: No -Werror=return-type for clang due to remaining extern C linkage complaints.
This commit is contained in:
parent
fc89e02ff7
commit
30ee090663
1 changed files with 4 additions and 1 deletions
|
@ -631,7 +631,10 @@ dnl
|
||||||
|
|
||||||
dnl Uninitialized return values are not useful in this project; forgetting
|
dnl Uninitialized return values are not useful in this project; forgetting
|
||||||
dnl to return from a function is always a developer mistake here.
|
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
|
||||||
dnl List of warnings we suppress:
|
dnl List of warnings we suppress:
|
||||||
|
|
Loading…
Reference in a new issue