Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142780882
D29157.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D29157.diff
View Options
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -17,21 +17,21 @@
# kernel where fixing them is more trouble than it is worth, or where there is
# a false positive.
.if ${COMPILER_TYPE} == "clang"
-NO_WCONSTANT_CONVERSION= -Wno-error-constant-conversion
+NO_WCONSTANT_CONVERSION= -Wno-error=constant-conversion
NO_WSHIFT_COUNT_NEGATIVE= -Wno-shift-count-negative
NO_WSHIFT_COUNT_OVERFLOW= -Wno-shift-count-overflow
NO_WSELF_ASSIGN= -Wno-self-assign
-NO_WUNNEEDED_INTERNAL_DECL= -Wno-error-unneeded-internal-declaration
-NO_WSOMETIMES_UNINITIALIZED= -Wno-error-sometimes-uninitialized
-NO_WCAST_QUAL= -Wno-error-cast-qual
+NO_WUNNEEDED_INTERNAL_DECL= -Wno-error=unneeded-internal-declaration
+NO_WSOMETIMES_UNINITIALIZED= -Wno-error=sometimes-uninitialized
+NO_WCAST_QUAL= -Wno-error=cast-qual
NO_WTAUTOLOGICAL_POINTER_COMPARE= -Wno-tautological-pointer-compare
# Several other warnings which might be useful in some cases, but not severe
# enough to error out the whole kernel build. Display them anyway, so there is
# some incentive to fix them eventually.
-CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
- -Wno-error-parentheses-equality -Wno-error-unused-function \
- -Wno-error-pointer-sign
-CWARNEXTRA+= -Wno-error-shift-negative-value
+CWARNEXTRA?= -Wno-error=tautological-compare -Wno-error=empty-body \
+ -Wno-error=parentheses-equality -Wno-error=unused-function \
+ -Wno-error=pointer-sign
+CWARNEXTRA+= -Wno-error=shift-negative-value
CWARNEXTRA+= -Wno-address-of-packed-member
.if ${COMPILER_VERSION} >= 100000
NO_WMISLEADING_INDENTATION= -Wno-misleading-indentation
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 24, 1:07 PM (5 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27897194
Default Alt Text
D29157.diff (1 KB)
Attached To
Mode
D29157: kern.mk: use -Wno-error=.. instead of -Wno-error-.. to fix build with clang 12
Attached
Detach File
Event Timeline
Log In to Comment