Source-Changes-HG archive

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

[src/trunk]: src/sys/rump Globally define -Wno-pointer-sign, as it has become...



details:   https://anonhg.NetBSD.org/src/rev/545b182a16ca
branches:  trunk
changeset: 752140:545b182a16ca
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Feb 16 20:42:44 2010 +0000

description:
Globally define -Wno-pointer-sign, as it has become a pointless
exercise of "add it to every Makefile individually".

XXX: should autosynchronize with the rest of the kernel buildflags
in sys/conf/Makefile.kern.inc.

diffstat:

 sys/rump/Makefile.rump                          |  4 ++--
 sys/rump/dev/lib/libcgd/Makefile                |  3 +--
 sys/rump/dev/lib/libdisk/Makefile               |  4 +---
 sys/rump/dev/lib/libdm/Makefile                 |  3 +--
 sys/rump/dev/lib/libnetsmb/Makefile             |  4 +---
 sys/rump/dev/lib/librnd/Makefile                |  3 +--
 sys/rump/dev/lib/libsysmon/Makefile             |  3 +--
 sys/rump/dev/lib/libucom/Makefile               |  3 +--
 sys/rump/dev/lib/libulpt/Makefile               |  3 +--
 sys/rump/dev/lib/libumass/Makefile              |  3 +--
 sys/rump/dev/lib/libusb/Makefile                |  3 +--
 sys/rump/dev/lib/libwscons/Makefile             |  3 +--
 sys/rump/dev/wip/libukbd/Makefile               |  3 +--
 sys/rump/dev/wip/libums/Makefile                |  3 +--
 sys/rump/dev/wip/libusbrum/Makefile             |  3 +--
 sys/rump/fs/lib/libcd9660/Makefile              |  4 +---
 sys/rump/fs/lib/libext2fs/Makefile              |  4 +---
 sys/rump/fs/lib/libffs/Makefile                 |  3 +--
 sys/rump/fs/lib/libhfs/Makefile                 |  4 +---
 sys/rump/fs/lib/liblfs/Makefile                 |  4 ++--
 sys/rump/fs/lib/libmsdos/Makefile               |  4 +---
 sys/rump/fs/lib/libnfs/Makefile                 |  3 +--
 sys/rump/fs/lib/libnfsserver/Makefile           |  3 +--
 sys/rump/fs/lib/libnilfs/Makefile               |  4 +---
 sys/rump/fs/lib/libntfs/Makefile                |  4 +---
 sys/rump/fs/lib/libsmbfs/Makefile               |  4 +---
 sys/rump/fs/lib/libudf/Makefile                 |  4 +---
 sys/rump/librump/rumpcrypto/Makefile.rumpcrypto |  3 +--
 sys/rump/librump/rumpdev/Makefile.rumpdev       |  3 +--
 sys/rump/librump/rumpkern/Makefile.rumpkern     |  3 +--
 sys/rump/librump/rumpvfs/Makefile.rumpvfs       |  3 +--
 sys/rump/net/lib/liblocal/Makefile              |  4 +---
 sys/rump/net/lib/libnet80211/Makefile           |  4 +---
 sys/rump/net/lib/libnetinet/Makefile.inc        |  3 +--
 34 files changed, 36 insertions(+), 80 deletions(-)

diffs (truncated from 580 to 300 lines):

diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/Makefile.rump
--- a/sys/rump/Makefile.rump    Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/Makefile.rump    Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rump,v 1.49 2010/02/09 16:16:26 pooka Exp $
+#      $NetBSD: Makefile.rump,v 1.50 2010/02/16 20:42:44 pooka Exp $
 #
 
 WARNS?=                3       # XXX: src/sys won't compile with -Wsign-compare yet
@@ -12,7 +12,7 @@
 .endif
 
 CFLAGS+=       -ffreestanding -fno-strict-aliasing
-CWARNFLAGS+=   -Wno-format-zero-length
+CWARNFLAGS+=   -Wno-format-zero-length -Wno-pointer-sign
 CPPFLAGS+=     -D_RUMPKERNEL
 CPPFLAGS+=     -D_KERNEL -DMULTIPROCESSOR -D_MODULE -DMODULAR
 CPPFLAGS+=     -DMAXUSERS=32
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libcgd/Makefile
--- a/sys/rump/dev/lib/libcgd/Makefile  Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libcgd/Makefile  Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2009/09/07 11:23:39 pooka Exp $
+#      $NetBSD: Makefile,v 1.3 2010/02/16 20:42:44 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev
@@ -9,7 +9,6 @@
 
 SRCS+= component.c
 
-CPPFLAGS+=     -Wno-pointer-sign
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libdisk/Makefile
--- a/sys/rump/dev/lib/libdisk/Makefile Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libdisk/Makefile Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2009/11/23 13:40:11 pooka Exp $
+#      $NetBSD: Makefile,v 1.7 2010/02/16 20:42:44 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../kern                                     \
@@ -18,7 +18,5 @@
 # sys/dev
 SRCS+= dksubr.c dk.c
 
-CFLAGS+=       -Wno-pointer-sign
-
 .include <bsd.lib.mk>
 .include <bsd.klinks.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libdm/Makefile
--- a/sys/rump/dev/lib/libdm/Makefile   Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libdm/Makefile   Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2009/12/04 22:13:59 haad Exp $
+#      $NetBSD: Makefile,v 1.2 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev/dm
@@ -10,7 +10,6 @@
 
 SRCS+= component.c
 
-CPPFLAGS+=     -Wno-pointer-sign
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs
 
 LDADD+=         -lrumpvfs
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libnetsmb/Makefile
--- a/sys/rump/dev/lib/libnetsmb/Makefile       Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libnetsmb/Makefile       Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2009/09/06 20:42:26 pooka Exp $
+#      $NetBSD: Makefile,v 1.3 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../netsmb
@@ -13,7 +13,5 @@
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs
 #CPPFLAGS+=    -DSMB_SOCKET_DEBUG -DSMB_IOD_DEBUG
 
-CFLAGS+=       -Wno-pointer-sign
-
 .include <bsd.lib.mk>
 .include <bsd.klinks.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/librnd/Makefile
--- a/sys/rump/dev/lib/librnd/Makefile  Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/librnd/Makefile  Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2009/09/08 20:12:52 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev
@@ -9,7 +9,6 @@
 
 SRCS+= component.c
 
-CPPFLAGS+=     -Wno-pointer-sign
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libsysmon/Makefile
--- a/sys/rump/dev/lib/libsysmon/Makefile       Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libsysmon/Makefile       Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2010/01/31 03:06:59 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev/sysmon
@@ -11,7 +11,6 @@
 
 SRCS+= component.c 
 
-CFLAGS+=       -Wno-pointer-sign
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs -I${.CURDIR}/opt
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libucom/Makefile
--- a/sys/rump/dev/lib/libucom/Makefile Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libucom/Makefile Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2010/02/11 02:22:09 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev/usb ${.CURDIR}/../../../../kern
@@ -12,7 +12,6 @@
 
 IOCONFIG= UCOM.ioconf
 
-CFLAGS+=       -Wno-pointer-sign
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libulpt/Makefile
--- a/sys/rump/dev/lib/libulpt/Makefile Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libulpt/Makefile Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2010/02/11 02:22:09 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev/usb ${.CURDIR}/../../../../kern
@@ -11,7 +11,6 @@
 
 IOCONFIG= ULPT.ioconf
 
-CFLAGS+=       -Wno-pointer-sign
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libumass/Makefile
--- a/sys/rump/dev/lib/libumass/Makefile        Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libumass/Makefile        Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2010/02/12 12:07:12 pooka Exp $
+#      $NetBSD: Makefile,v 1.3 2010/02/16 20:42:45 pooka Exp $
 #
 #
 # umass.  includes scsibus+sd for simplicity due to the umass code
@@ -22,7 +22,6 @@
 SRCS=  dummy.c
 .endif
 
-CFLAGS+=       -Wno-pointer-sign
 CPPFLAGS+=     -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpvfs
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libusb/Makefile
--- a/sys/rump/dev/lib/libusb/Makefile  Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libusb/Makefile  Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2010/02/12 12:07:12 pooka Exp $
+#      $NetBSD: Makefile,v 1.3 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev/usb
@@ -14,7 +14,6 @@
 
 #CPPFLAGS+= -DUHUB_DEBUG
 
-CFLAGS+=       -Wno-pointer-sign
 CPPFLAGS+=     -I${.CURDIR}/opt
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/lib/libwscons/Makefile
--- a/sys/rump/dev/lib/libwscons/Makefile       Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/lib/libwscons/Makefile       Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2010/02/11 02:22:10 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev/wscons
@@ -9,7 +9,6 @@
 
 SRCS+= component.c
 
-CPPFLAGS+=     -Wno-pointer-sign
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs -I${.CURDIR}/opt
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/wip/libukbd/Makefile
--- a/sys/rump/dev/wip/libukbd/Makefile Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/wip/libukbd/Makefile Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2010/02/03 21:18:38 pooka Exp $
+#      $NetBSD: Makefile,v 1.3 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev/usb ${.CURDIR}/../../../../kern      \
@@ -16,7 +16,6 @@
 
 IOCONFIG= UKBD.ioconf
 
-CFLAGS+=       -Wno-pointer-sign
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/wip/libums/Makefile
--- a/sys/rump/dev/wip/libums/Makefile  Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/wip/libums/Makefile  Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2010/02/03 21:18:38 pooka Exp $
+#      $NetBSD: Makefile,v 1.3 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev/usb ${.CURDIR}/../../../../kern
@@ -15,7 +15,6 @@
 
 IOCONFIG= UMS.ioconf
 
-CFLAGS+=       -Wno-pointer-sign
 CPPFLAGS+=     -I${RUMPTOP}/librump/rumpvfs
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/dev/wip/libusbrum/Makefile
--- a/sys/rump/dev/wip/libusbrum/Makefile       Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/dev/wip/libusbrum/Makefile       Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2009/10/04 10:43:03 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../dev/usb
@@ -9,7 +9,6 @@
 
 SRCS+= rum_at_usb.c
 
-CFLAGS+=       -Wno-pointer-sign
 CPPFLAGS+=     -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpnet/opt
 
 .include <bsd.lib.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/fs/lib/libcd9660/Makefile
--- a/sys/rump/fs/lib/libcd9660/Makefile        Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/fs/lib/libcd9660/Makefile        Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2008/08/05 14:42:03 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2010/02/16 20:42:45 pooka Exp $
 #
 
 .PATH: ${.CURDIR}/../../../../fs/cd9660
@@ -8,7 +8,5 @@
 SRCS=  cd9660_bmap.c cd9660_node.c cd9660_util.c cd9660_vnops.c        \
        cd9660_lookup.c cd9660_rrip.c cd9660_vfsops.c
 
-CFLAGS+=-Wno-pointer-sign
-
 .include <bsd.lib.mk>
 .include <bsd.klinks.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/fs/lib/libext2fs/Makefile
--- a/sys/rump/fs/lib/libext2fs/Makefile        Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/fs/lib/libext2fs/Makefile        Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2008/07/29 13:17:42 pooka Exp $
+#      $NetBSD: Makefile,v 1.3 2010/02/16 20:42:46 pooka Exp $
 #
 
 .PATH:  ${.CURDIR}/../../../../ufs/ext2fs
@@ -9,7 +9,5 @@
        ext2fs_inode.c ext2fs_lookup.c ext2fs_readwrite.c ext2fs_subr.c \
        ext2fs_vfsops.c ext2fs_vnops.c
 
-CFLAGS+=-Wno-pointer-sign
-
 .include <bsd.lib.mk>
 .include <bsd.klinks.mk>
diff -r 8a1ee1fb8933 -r 545b182a16ca sys/rump/fs/lib/libffs/Makefile
--- a/sys/rump/fs/lib/libffs/Makefile   Tue Feb 16 20:34:03 2010 +0000
+++ b/sys/rump/fs/lib/libffs/Makefile   Tue Feb 16 20:42:44 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2009/05/02 01:15:53 pooka Exp $
+#      $NetBSD: Makefile,v 1.10 2010/02/16 20:42:46 pooka Exp $
 #
 
 .PATH:  ${.CURDIR}/../../../../ufs/ffs ${.CURDIR}/../../../../ufs/ufs
@@ -14,7 +14,6 @@



Home | Main Index | Thread Index | Old Index