increase -Werror resilience
for bin/, commands/, libexec/, sbin/, test/, usr.bin/ and usr.sbin/. Change-Id: I8fa12c3cd86865311cef71b7faa7cf4fa785174f
This commit is contained in:
committed by
Gerrit Code Review
parent
5c584cedf8
commit
3161c603a6
@@ -12,5 +12,6 @@ DPADD+=${LIBPROP}
|
||||
|
||||
# LSC Does not compile without any warnings...
|
||||
NOGCCERROR:=yes
|
||||
NOCLANGERROR:=yes
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
@@ -265,8 +265,13 @@ print_mtime(time_t t)
|
||||
}
|
||||
|
||||
|
||||
#ifdef __minix
|
||||
__dead void
|
||||
catch(int n)
|
||||
#else
|
||||
void
|
||||
catch(int n)
|
||||
#endif
|
||||
{
|
||||
if (ckfinish) (*ckfinish)(0);
|
||||
_exit(FSCK_EXIT_SIGNALLED);
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
# $NetBSD: Makefile,v 1.4 2012/03/24 08:22:24 joerg Exp $
|
||||
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
||||
|
||||
.if defined(__MINIX)
|
||||
WARNS=3
|
||||
.endif
|
||||
|
||||
WARNS?= 4
|
||||
|
||||
CWARNFLAGS+= -Wno-sign-compare
|
||||
|
||||
Reference in New Issue
Block a user