Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/elftosb Shut up a bunch of (valid) warnings fro...



details:   https://anonhg.NetBSD.org/src/rev/9f23f8920924
branches:  trunk
changeset: 325007:9f23f8920924
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Nov 29 23:02:49 2013 +0000

description:
Shut up a bunch of (valid) warnings from Clang.

diffstat:

 external/bsd/elftosb/Makefile.inc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9d51274dd360 -r 9f23f8920924 external/bsd/elftosb/Makefile.inc
--- a/external/bsd/elftosb/Makefile.inc Fri Nov 29 23:02:26 2013 +0000
+++ b/external/bsd/elftosb/Makefile.inc Fri Nov 29 23:02:49 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.1 2012/11/15 19:49:12 jkunz Exp $
+# $NetBSD: Makefile.inc,v 1.2 2013/11/29 23:02:49 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -18,6 +18,9 @@
 CPPFLAGS+=     -DLinux
 
 CWARNFLAGS+=   -Wno-multichar
+CWARNFLAGS.clang+=     -Wno-switch -Wno-error=delete-non-virtual-dtor \
+                       -Wno-bitwise-op-parentheses -Wno-parentheses \
+                       -Wno-tautological-compare
 
 LIBISCXX=      yes
 



Home | Main Index | Thread Index | Old Index