diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-01-23 21:21:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-01-23 21:21:24 +0000 |
commit | 220b7a93bc4c034bd0201639b93dbc63b7c6e7a5 (patch) | |
tree | 20260d248390c78b5b4ad35d22826c44a6bf8a45 /regress/usr.bin | |
parent | 8e7a5c89bcc45f9e63503e9c9a6e07f53f9bc8ec (diff) |
-Wpointer-sign is supported by gcc 4 only.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/ssh/unittests/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/unittests/Makefile.inc b/regress/usr.bin/ssh/unittests/Makefile.inc index 2f431344600..c022b044625 100644 --- a/regress/usr.bin/ssh/unittests/Makefile.inc +++ b/regress/usr.bin/ssh/unittests/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.2 2014/06/24 01:14:18 djm Exp $ +# $OpenBSD: Makefile.inc,v 1.3 2015/01/23 21:21:23 miod Exp $ .include <bsd.own.mk> .include <bsd.obj.mk> @@ -29,7 +29,6 @@ CDIAGFLAGS+= -Wmissing-declarations CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wparentheses CDIAGFLAGS+= -Wpointer-arith -CDIAGFLAGS+= -Wpointer-sign CDIAGFLAGS+= -Wreturn-type CDIAGFLAGS+= -Wshadow CDIAGFLAGS+= -Wsign-compare @@ -40,6 +39,7 @@ CDIAGFLAGS+= -Wtrigraphs CDIAGFLAGS+= -Wuninitialized CDIAGFLAGS+= -Wunused .if ${COMPILER_VERSION} == "gcc4" +CDIAGFLAGS+= -Wpointer-sign CDIAGFLAGS+= -Wold-style-definition .endif |