Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gdb/lib/libgdb gdb likes to mix different enum...



details:   https://anonhg.NetBSD.org/src/rev/dbee20565e29
branches:  trunk
changeset: 777672:dbee20565e29
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Feb 28 22:07:54 2012 +0000

description:
gdb likes to mix different enum types in switches, so disable the check
for clang.

diffstat:

 external/gpl3/gdb/lib/libgdb/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 952ca7067477 -r dbee20565e29 external/gpl3/gdb/lib/libgdb/Makefile
--- a/external/gpl3/gdb/lib/libgdb/Makefile     Tue Feb 28 22:07:16 2012 +0000
+++ b/external/gpl3/gdb/lib/libgdb/Makefile     Tue Feb 28 22:07:54 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2011/09/26 14:31:25 christos Exp $
+#      $NetBSD: Makefile,v 1.3 2012/02/28 22:07:54 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -35,6 +35,8 @@
 # code that's never exercised on NetBSD.
 CPPFLAGS.inf-ptrace.c= -Wno-error
 
+CWARNFLAGS.clang+=     -Wno-switch
+
 .include "../../Makefile.inc"
 .include <bsd.lib.mk>
 



Home | Main Index | Thread Index | Old Index