Page MenuHomeFreeBSD

D39732.id120757.diff
No OneTemporary

D39732.id120757.diff

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

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)

Event Timeline