diff options
author | miod@openbsd.org <miod@openbsd.org> | 2015-01-23 21:21:23 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-27 00:03:30 +1100 |
commit | 0dad3b806fddb93c475b30853b9be1a25d673a33 (patch) | |
tree | 21aac78b5013af593624d3d6a819cfba8e3ee436 | |
parent | 2b3b1c1e4bd9577b6e780c255c278542ea66c098 (diff) |
upstream commit
-Wpointer-sign is supported by gcc 4 only.
-rw-r--r-- | regress/unittests/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/unittests/Makefile.inc b/regress/unittests/Makefile.inc index 4c3363749..c55d00c61 100644 --- a/regress/unittests/Makefile.inc +++ b/regress/unittests/Makefile.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile.inc,v 1.1 2014/04/30 05:32:00 djm Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.3 2015/01/23 21:21:23 miod Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
4 | .include <bsd.obj.mk> | 4 | .include <bsd.obj.mk> |
@@ -21,7 +21,6 @@ CDIAGFLAGS+= -Wmissing-declarations | |||
21 | CDIAGFLAGS+= -Wmissing-prototypes | 21 | CDIAGFLAGS+= -Wmissing-prototypes |
22 | CDIAGFLAGS+= -Wparentheses | 22 | CDIAGFLAGS+= -Wparentheses |
23 | CDIAGFLAGS+= -Wpointer-arith | 23 | CDIAGFLAGS+= -Wpointer-arith |
24 | CDIAGFLAGS+= -Wpointer-sign | ||
25 | CDIAGFLAGS+= -Wreturn-type | 24 | CDIAGFLAGS+= -Wreturn-type |
26 | CDIAGFLAGS+= -Wshadow | 25 | CDIAGFLAGS+= -Wshadow |
27 | CDIAGFLAGS+= -Wsign-compare | 26 | CDIAGFLAGS+= -Wsign-compare |
@@ -32,6 +31,7 @@ CDIAGFLAGS+= -Wtrigraphs | |||
32 | CDIAGFLAGS+= -Wuninitialized | 31 | CDIAGFLAGS+= -Wuninitialized |
33 | CDIAGFLAGS+= -Wunused | 32 | CDIAGFLAGS+= -Wunused |
34 | .if ${COMPILER_VERSION} == "gcc4" | 33 | .if ${COMPILER_VERSION} == "gcc4" |
34 | CDIAGFLAGS+= -Wpointer-sign | ||
35 | CDIAGFLAGS+= -Wold-style-definition | 35 | CDIAGFLAGS+= -Wold-style-definition |
36 | .endif | 36 | .endif |
37 | 37 | ||