INN commit: trunk (configure.ac)
INN Commit
rra at isc.org
Sun Nov 6 14:05:03 UTC 2016
Date: Sunday, November 6, 2016 @ 06:05:03
Author: iulius
Revision: 10110
Add -Wno-unknown-warning-option to satisfy Clang when given unknown warning options
Modified:
trunk/configure.ac
--------------+
configure.ac | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Modified: configure.ac
===================================================================
--- configure.ac 2016-11-06 14:01:41 UTC (rev 10109)
+++ configure.ac 2016-11-06 14:05:03 UTC (rev 10110)
@@ -717,6 +717,9 @@
dnl without optimization turned on. Add -DDEBUG=1 so that we'll also
dnl compile all debugging code and check it as well.
dnl
+dnl -Wno-unknown-warning-option is used to prevent Clang from complaining
+dnl with unknown parameters.
+dnl
dnl It would be worthwhile trying to enforce the following checks:
dnl -D_FORTIFY_SOURCE=2 enables warn_unused_result attribute markings
dnl on glibc functions on Linux, as well as more object size checking,
@@ -735,7 +738,7 @@
-Wmissing-prototypes -Wmissing-declarations
-Wmissing-format-attribute
-Wnormalized=nfc -Wnested-externs -Winline
- -Winvalid-pch -Wvla],
+ -Winvalid-pch -Wvla -Wno-unknown-warning-option],
[INN_PROG_CC_FLAG(flag, [CC_WARNINGS="${CC_WARNINGS} flag"], [])])
AC_SUBST([CC_WARNINGS])
More information about the inn-committers
mailing list