From 4ead4f9e9eb440b80409691485240900ab6bb74e Mon Sep 17 00:00:00 2001 From: kientzle Date: Thu, 12 Feb 2004 04:11:40 +0000 Subject: 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 Back the WARNS level down to 3 to accomodate borked zlib.h. --- lib/libarchive/Makefile | 4 +++- lib/libarchive/Makefile.freebsd | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile index e59b243..2abc4bd 100644 --- a/lib/libarchive/Makefile +++ b/lib/libarchive/Makefile @@ -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. +WARNS?= 3 .include diff --git a/lib/libarchive/Makefile.freebsd b/lib/libarchive/Makefile.freebsd index e59b243..2abc4bd 100644 --- a/lib/libarchive/Makefile.freebsd +++ b/lib/libarchive/Makefile.freebsd @@ -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. +WARNS?= 3 .include -- cgit v1.1