https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124363
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2026-03-04
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Ever confirmed|0 |1
Status|UNCONFIRMED |ASSIGNED
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I changed the #if in r8-3123-gc6888c62577671 but didn't make the corresponding
change to the #endif
diff --git a/libstdc++-v3/include/bits/string_view.tcc
b/libstdc++-v3/include/bits/string_view.tcc
index b8ab78cedf17..4d98f8668a00 100644
--- a/libstdc++-v3/include/bits/string_view.tcc
+++ b/libstdc++-v3/include/bits/string_view.tcc
@@ -36,9 +36,7 @@
#pragma GCC system_header
-#if __cplusplus <= 201402L
-# include <bits/c++17_warning.h>
-#else
+#if __cplusplus >= 201703L
namespace std _GLIBCXX_VISIBILITY(default)
{