sprinkle some -Wno-pointer-sign for now.

This commit is contained in:
mrg 2006-05-11 08:55:10 +00:00
parent 9f5cbae0f8
commit 10c621b36e
4 changed files with 22 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2001/12/31 19:41:37 thorpej Exp $
# $NetBSD: Makefile,v 1.6 2006/05/11 08:55:10 mrg Exp $
PROG = isdnd
SRCS = rc_parse.y rc_scan.l main.c rc_config.c log.c curses.c \
@ -31,3 +31,9 @@ CPPFLAGS+= -DI4B_EXTERNAL_MONITOR
CPPFLAGS+= -DI4B_NOTCPIP_MONITOR
.endif
.endif
.if ${HAVE_GCC} == 4
COPTS.alias.c+= -Wno-pointer-sign
COPTS.holiday.c+= -Wno-pointer-sign
COPTS.monitor.c+= -Wno-pointer-sign
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2001/01/10 18:11:07 thorpej Exp $
# $NetBSD: Makefile,v 1.3 2006/05/11 08:55:10 mrg Exp $
PROG = isdnmonitor
SRCS = main.c curses.c
@ -9,3 +9,7 @@ LDADD += -lcurses
MAN = isdnmonitor.8
.include <bsd.prog.mk>
.if ${HAVE_GCC} == 4
COPTS.main.c+= -Wno-pointer-sign
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2001/01/06 13:00:35 martin Exp $
# $NetBSD: Makefile,v 1.2 2006/05/11 08:55:10 mrg Exp $
PROG = isdntel
SRCS = main.c display.c files.c alias.c
@ -6,3 +6,7 @@ LDADD += -lcurses -ltermlib
MAN = isdntel.8
.include <bsd.prog.mk>
.if ${HAVE_GCC} == 4
COPTS.alias.c+= -Wno-pointer-sign
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2001/01/06 13:00:34 martin Exp $
# $NetBSD: Makefile,v 1.2 2006/05/11 08:55:10 mrg Exp $
PROG = isdntrace
SRCS = q921.c q931.c q931_util.c q932_fac.c 1tr6.c trace.c \
@ -7,3 +7,7 @@ MAN = isdntrace.8
.include <bsd.prog.mk>
.if ${HAVE_GCC} == 4
COPTS.q932_fac.c+= -Wno-pointer-sign
COPTS.trace.c+= -Wno-pointer-sign
.endif