| #
628b66af |
| 04-Oct-2019 |
mrg <mrg@NetBSD.org> |
turn off various warnings for various things:
- file has looks bogus maybe-uninitialized - llvm triggers an attribute violation: ScheduleDAGInstrs.cpp:1430:14: error: declaration of 'llvm::raw
turn off various warnings for various things:
- 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.
show more ...
|