Page MenuHomeFreeBSD

D42579.1796108991.diff
No OneTemporary

Authored By
Unknown
Size
477 B
Referenced Files
None
Subscribers
None

D42579.1796108991.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
@@ -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

Mime Type
text/plain
Expires
Tue, Dec 1, 7:09 AM (14 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42120950
Default Alt Text
D42579.1796108991.diff (477 B)

Event Timeline