
- file has looks bogus maybe-uninitialized - llvm triggers an attribute violation: ScheduleDAGInstrs.cpp:1430:14: error: declaration of 'llvm::raw_ostream& llvm::operator<<(llvm::raw_ostream&, const llvm::ILPValue&)' with attribute 'noinline' follows inline declaration [-Werror=attributes] - ntp and pkg_install have obvious restrict violations, should be fixed but i'm avoiding patching upstream code in this pass - tftp has an array bounds that doesn't seem real issue - sysinst's partman.c has major problem with passing the same string as source and dest in snprintf, as a way to strcat with formatting which trip restrict violations. non trivial to fix so for now the warning is elided. - Xext's XEVI.c has similar issue as partman.c everyone and GCC 8 gets these warnings turned off for now: -Wno-format-truncation -Wno-stringop-overflow -Wno-stringop-truncation -Wno-cast-function-type as they trip a large amount of code. most of them should be investigated, but the few i looked at were not finding actually real bugs, vs instances of poor coding, so skipping for now.
14 lines
290 B
Makefile
14 lines
290 B
Makefile
# $NetBSD: Makefile,v 1.12 2019/10/04 09:47:28 mrg Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
WARNS?=2
|
|
|
|
USE_FORT?= yes # network client
|
|
|
|
PROG= tftp
|
|
SRCS= main.c tftp.c tftpsubs.c
|
|
|
|
COPTS.tftp.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-array-bounds :}
|
|
|
|
.include <bsd.prog.mk>
|