mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
kernel build: Disable unhelpful GCC warning (tripped after r346352)
-Wformat-zero-length does not highlight any particularly wrong code and it is especially meaningless for device_printf(). Turn it off entirely to remove a source of false positives. Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
aa7d14e555
commit
bd48a01043
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346412
@ -61,7 +61,8 @@ CWARNEXTRA?= -Wno-error=address \
|
||||
CWARNEXTRA+= -Wno-error=misleading-indentation \
|
||||
-Wno-error=nonnull-compare \
|
||||
-Wno-error=shift-overflow \
|
||||
-Wno-error=tautological-compare
|
||||
-Wno-error=tautological-compare \
|
||||
-Wno-format-zero-length
|
||||
.endif
|
||||
.if ${COMPILER_VERSION} >= 70200
|
||||
CWARNEXTRA+= -Wno-error=memset-elt-size
|
||||
|
Loading…
Reference in New Issue
Block a user