Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168375931
D54867.id170364.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
581 B
Referenced Files
None
Subscribers
None
D54867.id170364.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
@@ -193,6 +193,11 @@
-Wno-error=uninitialized \
-Wno-error=unused-function \
-Wno-error=unused-value
+
+# These warnings are raised by headers in libc++ so are disabled
+# globally for all C++
+CXXWARNFLAGS+= -Wno-attributes \
+ -Wno-deprecated-declarations
.endif
# GCC 6.1.0
@@ -246,6 +251,7 @@
# globally for all C++
CXXWARNFLAGS+= -Wno-literal-suffix \
-Wno-c++20-extensions \
+ -Wno-attributes \
-Wno-error=unknown-pragmas
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 28, 8:45 PM (17 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37483043
Default Alt Text
D54867.id170364.diff (581 B)
Attached To
Mode
D54867: bsd.sys.mk: Silence a few GCC warnings for C++
Attached
Detach File
Event Timeline
Log In to Comment