]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r350739-r350740 (by cem)
authorRyan Libby <rlibby@FreeBSD.org>
Fri, 18 Dec 2020 08:40:33 +0000 (08:40 +0000)
committerRyan Libby <rlibby@FreeBSD.org>
Fri, 18 Dec 2020 08:40:33 +0000 (08:40 +0000)
commitbb4629fa497f2deaa7eb62f84b67262e852a60ff
tree5d217509937d473ecf60e46c0642598db239aab5
parent12fc18b805376002ff195f2f4edebf179edd2a9c
MFC r350739-r350740 (by cem)

r350739:
Disable useless -Wformat-zero-length

It is part of -Wformat, which is enabled by -Wall.  Empty format strings are
well defined and it is perfectly reasonable to expect them in a formatting
interface.

r350740:
r350739 try #2

For some inexplicable reason, C++ compilers reject the -Wno- flag, and also
(ab)use CWARNFLAGS.

Reported by: imp
share/mk/bsd.sys.mk
sys/conf/kern.mk