mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue