libarchive itself is now completely clean at WARNS=10 on all architectures.

Unfortunately, the stock zlib.h is not:
  line 885: 'err' parameter shadows global 'err' definition from <err.h>

Back the WARNS level down to 3 to accomodate borked zlib.h.
This commit is contained in:
Tim Kientzle 2004-02-12 04:11:40 +00:00
parent 9a580b5e18
commit 06d2a666e4
2 changed files with 6 additions and 2 deletions

View File

@ -114,6 +114,8 @@ CFLAGS+=-DDEBUG -g
CFLAGS+=-DDMALLOC -I/usr/local/include
LDFLAGS+=-L/usr/local/lib -ldmalloc
.endif
WARNS?= 10
# Should be WARNS=10, except that zlib.h is borked. <sigh>
WARNS?= 3
.include <bsd.lib.mk>

View File

@ -114,6 +114,8 @@ CFLAGS+=-DDEBUG -g
CFLAGS+=-DDMALLOC -I/usr/local/include
LDFLAGS+=-L/usr/local/lib -ldmalloc
.endif
WARNS?= 10
# Should be WARNS=10, except that zlib.h is borked. <sigh>
WARNS?= 3
.include <bsd.lib.mk>