[100448] users/raimue/ports/sysutils/collectd/Portfile
raimue at macports.org
raimue at macports.org
Wed Dec 12 08:57:54 PST 2012
Revision: 100448
https://trac.macports.org/changeset/100448
Author: raimue at macports.org
Date: 2012-12-12 08:57:53 -0800 (Wed, 12 Dec 2012)
Log Message:
-----------
sysutils/collectd:
Suppress some more unfixable warnings
Modified Paths:
--------------
users/raimue/ports/sysutils/collectd/Portfile
Modified: users/raimue/ports/sysutils/collectd/Portfile
===================================================================
--- users/raimue/ports/sysutils/collectd/Portfile 2012-12-12 16:08:12 UTC (rev 100447)
+++ users/raimue/ports/sysutils/collectd/Portfile 2012-12-12 16:57:53 UTC (rev 100448)
@@ -22,11 +22,15 @@
checksums sha1 2176c80f804559edb3ef3a4dfea459e67f6cecbe \
sha256 3f8dd235b8e2493a4ad558e3cd15b89007a0deaaef5481782d1e8e048dd43e4f
-# collectd uses -Werror in their CFLAGS, which turns the warnings about unused
-# command line arguments generated by clang into errors. Suppress these
-# warnings when clang is used.
+# collectd uses -Werror in their CFLAGS, which turns warnings into errors.
+# Some of these are not fixable and thus need to be suppressed when clang
+# is used.
if [string match *clang* ${configure.compiler}] {
+ # Do not error out on unused command-line arguments
configure.cflags-append -Qunused-arguments
+ # Do not error out on use of IN6_IS_ADDR_MULTICAST()
+ # that adds an extra pair of parentheses
+ configure.cflags-append -Wno-parentheses-equality
}
#######################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121212/fa154848/attachment.html>
More information about the macports-changes
mailing list