Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108309154
D39732.id120757.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
766 B
Referenced Files
None
Subscribers
None
D39732.id120757.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
@@ -50,7 +50,7 @@
.endif # WARNS >= 2
.if ${WARNS} >= 3
CWARNFLAGS+= -W -Wno-unused-parameter
-.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 150000
+.if ${COMPILER_TYPE} == "clang"
CWARNFLAGS+= -Wstrict-prototypes
.endif
CWARNFLAGS+= -Wmissing-prototypes -Wpointer-arith
@@ -62,11 +62,6 @@
CWARNFLAGS+= -Wcast-align
.endif # !NO_WCAST_ALIGN !NO_WCAST_ALIGN.${COMPILER_TYPE}
.endif # WARNS >= 4
-.if ${WARNS} >= 5
-.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150000
-CWARNFLAGS+= -Wstrict-prototypes
-.endif
-.endif # WARNS >= 4
.if ${WARNS} >= 6
CWARNFLAGS+= -Wchar-subscripts -Wnested-externs \
-Wold-style-definition
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 6:28 PM (6 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16095779
Default Alt Text
D39732.id120757.diff (766 B)
Attached To
Mode
D39732: Enable -Wstrict-prototypes for all clang versions at WARNS >= 3.
Attached
Detach File
Event Timeline
Log In to Comment