Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115285401
D42579.id130052.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
477 B
Referenced Files
None
Subscribers
None
D42579.id130052.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
@@ -234,6 +234,13 @@
-Wno-error=unknown-pragmas
.endif
+# GCC 13.1.0
+.if ${COMPILER_VERSION} >= 130100
+# These warnings are raised by headers in libc++ so are disabled
+# globally for all C++
+CXXWARNFLAGS+= -Wno-dangling-reference
+.endif
+
# GCC produces false positives for functions that switch on an
# enum (GCC bug 87950)
CWARNFLAGS+= -Wno-return-type
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 23, 6:09 AM (15 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17722950
Default Alt Text
D42579.id130052.diff (477 B)
Attached To
Mode
D42579: bsd.sys.mk: Disable -Wdangling-reference for GCC 13+
Attached
Detach File
Event Timeline
Log In to Comment