Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145324525
D39535.id120214.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
D39535.id120214.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
@@ -95,7 +95,6 @@
CWARNFLAGS.clang+= -Wno-error=unused-but-set-variable
.endif
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150000
-CWARNFLAGS.clang+= -Wno-error=deprecated-non-prototype
CWARNFLAGS.clang+= -Wno-error=unused-but-set-parameter
.endif
.endif # WARNS <= 6
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -47,10 +47,9 @@
CWARNEXTRA+= -Wno-error=shift-negative-value
CWARNEXTRA+= -Wno-address-of-packed-member
.if ${COMPILER_VERSION} >= 150000
-# Clang 15 has much more aggressive diagnostics about K&R prototypes,
-# mismatched prototypes, and unused-but-set variables. Make these
+# Clang 15 has much more aggressive diagnostics about
+# mismatched prototypes and unused-but-set variables. Make these
# non-fatal for the time being.
-CWARNEXTRA+= -Wno-error=deprecated-non-prototype
CWARNEXTRA+= -Wno-error=strict-prototypes
CWARNEXTRA+= -Wno-error=unused-but-set-variable
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 19, 10:42 AM (10 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28849355
Default Alt Text
D39535.id120214.diff (1 KB)
Attached To
Mode
D39535: clang: Enable -Wdeprecated-non-prototype by default.
Attached
Detach File
Event Timeline
Log In to Comment