Source-Changes-HG archive

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

[src/trunk]: src/x11/lib use COPTS(|.file.c)=-Wno-error to work around the gc...



details:   https://anonhg.NetBSD.org/src/rev/1e9cf7c06922
branches:  trunk
changeset: 552302:1e9cf7c06922
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Sep 23 10:59:18 2003 +0000

description:
use COPTS(|.file.c)=-Wno-error to work around the gcc 3.3 warning:
``warning: comparison is always true due to limited range of data type''

diffstat:

 x11/lib/FS/Makefile          |  4 +++-
 x11/lib/X11/Makefile.libx11  |  5 ++++-
 x11/lib/xlibi18n/im/Makefile |  3 ++-
 3 files changed, 9 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r ea26099eeb76 -r 1e9cf7c06922 x11/lib/FS/Makefile
--- a/x11/lib/FS/Makefile       Tue Sep 23 10:57:40 2003 +0000
+++ b/x11/lib/FS/Makefile       Tue Sep 23 10:59:18 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2003/09/13 20:18:42 lukem Exp $
+#      $NetBSD: Makefile,v 1.3 2003/09/23 10:59:18 lukem Exp $
 
 NOPIC= 1
 
@@ -27,5 +27,7 @@
 CPPFLAGS.FSConnServ.c= $(CONN_DEFINES) $(SOCK_DEFINES)
 CPPFLAGS.transport.c=  $(CONN_DEFINES) $(SOCK_DEFINES)
 
+COPTS+=                        -Wno-error      # XXX gcc 3.3
+
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>
diff -r ea26099eeb76 -r 1e9cf7c06922 x11/lib/X11/Makefile.libx11
--- a/x11/lib/X11/Makefile.libx11       Tue Sep 23 10:57:40 2003 +0000
+++ b/x11/lib/X11/Makefile.libx11       Tue Sep 23 10:59:18 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.libx11,v 1.2 2003/09/20 06:20:52 lukem Exp $
+#      $NetBSD: Makefile.libx11,v 1.3 2003/09/23 10:59:19 lukem Exp $
 
 LIB=   X11
 .PATH: ${X11SRCDIR.xc}/lib/${LIB}
@@ -120,6 +120,9 @@
 CPPFLAGS.KeyBind.c=    $(XKB_DEFINES)
 CPPFLAGS.XKBBind.c=    $(XKB_DEFINES)
 CPPFLAGS.imConv.c=     $(XKB_DEFINES)
+COPTS.XKBAlloc.c=      -Wno-error      # XXX gcc 3.3
+COPTS.XKBMAlloc.c=     -Wno-error      # XXX gcc 3.3
+COPTS.imThaiFlt.c=     -Wno-error      # XXX gcc 3.3
 
 BUILDSYMLINKS= transport.c x11trans.c \
                transport.c ximtrans.c
diff -r ea26099eeb76 -r 1e9cf7c06922 x11/lib/xlibi18n/im/Makefile
--- a/x11/lib/xlibi18n/im/Makefile      Tue Sep 23 10:57:40 2003 +0000
+++ b/x11/lib/xlibi18n/im/Makefile      Tue Sep 23 10:59:18 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1.1.1 2003/09/12 02:52:32 lukem Exp $
+#      $NetBSD: Makefile,v 1.2 2003/09/23 10:59:19 lukem Exp $
 
 LIB=   ximcp
 SRCS=  imCallbk.c imDefFlt.c imDefIc.c imDefIm.c imDefLkup.c \
@@ -9,5 +9,6 @@
 
 CPPFLAGS.imTrans.c=    ${X11FLAGS.CONNECTION} -DXIM_t -DTRANS_CLIENT
 CPPFLAGS.imTransR.c=   ${X11FLAGS.CONNECTION} -DXIM_t -DTRANS_CLIENT
+COPTS.imThaiFlt.c=     -Wno-error      # XXX gcc 3.3
 
 .include "../Makefile.xlibi18n"



Home | Main Index | Thread Index | Old Index