Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108160765
D31927.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
483 B
Referenced Files
None
Subscribers
None
D31927.diff
View Options
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -80,6 +80,9 @@
.if ${WARNS} <= 6
CWARNFLAGS.clang+= -Wno-empty-body -Wno-string-plus-int
CWARNFLAGS.clang+= -Wno-unused-const-variable
+.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 130000
+CWARNFLAGS.clang+= -Wno-error=unused-but-set-variable
+.endif
.endif # WARNS <= 6
.if ${WARNS} <= 3
CWARNFLAGS.clang+= -Wno-tautological-compare -Wno-unused-value\
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 23, 1:12 AM (20 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16044366
Default Alt Text
D31927.diff (483 B)
Attached To
Mode
D31927: Add -Wno-error=unused-but-set-variable when building with Clang 13+
Attached
Detach File
Event Timeline
Log In to Comment