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:
parent
9a580b5e18
commit
06d2a666e4
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user