Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151412113
D37530.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
486 B
Referenced Files
None
Subscribers
None
D37530.id.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
@@ -217,6 +217,14 @@
.endif
.endif
+# GCC 12.1.0
+.if ${COMPILER_VERSION} >= 120100
+# These warnings are raised by headers in libc++ so are disabled
+# globally for all C++
+CXXWARNFLAGS+= -Wno-literal-suffix \
+ -Wno-error=unknown-pragmas
+.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
Thu, Apr 9, 6:24 AM (14 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31139622
Default Alt Text
D37530.id.diff (486 B)
Attached To
Mode
D37530: Silence GCC warnings when using libc++ headers.
Attached
Detach File
Event Timeline
Log In to Comment