Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162310418
D12912.id34677.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
502 B
Referenced Files
None
Subscribers
None
D12912.id34677.diff
View Options
Index: share/mk/bsd.sys.mk
===================================================================
--- share/mk/bsd.sys.mk
+++ share/mk/bsd.sys.mk
@@ -157,6 +157,10 @@
-Wno-error=nonnull
.endif
+.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 60000
+CWARNFLAGS+= -Wno-error=tautological-constant-compare
+.endif
+
# How to handle FreeBSD custom printf format specifiers.
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 30600
FORMAT_EXTENSIONS= -D__printf__=__freebsd_kprintf__
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 12, 10:44 PM (2 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35014486
Default Alt Text
D12912.id34677.diff (502 B)
Attached To
Mode
D12912: Don't fail the build due to clang integer constant range warnings
Attached
Detach File
Event Timeline
Log In to Comment