Remove workaround for old libstdc++ problem, which now causes problems with GCC 12...
authorMike Hommey <mh@glandium.org>
Mon, 15 Aug 2022 05:49:40 +0000 (14:49 +0900)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Wed, 15 Mar 2023 11:53:54 +0000 (11:53 +0000)
Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Remove-workaround-for-old-libstdc-problem-which-now-.patch

intl/icu/source/common/unicode/std_string.h
intl/icu/source/common/utypeinfo.h
intl/icu/source/io/unicode/ustream.h

index bf87230167ecf25ce98aef43a05302c165497c67..c8388ef9fdf4b7eafed8cb6f8bf4fd3b99807a1a 100644 (file)
 
 #if U_SHOW_CPLUSPLUS_API
 
-// Workaround for a libstdc++ bug before libstdc++4.6 (2011).
-// https://bugs.llvm.org/show_bug.cgi?id=13364
-#if defined(__GLIBCXX__)
-namespace std { class type_info; }
-#endif
 #include <string>
 
 #endif /* U_SHOW_CPLUSPLUS_API */
index c6663734fc3dc4f2714b7dfcede2a1109784ed9b..5d9724059b95dbb69d2940902a3cb8d8f6d6d2e0 100644 (file)
@@ -24,9 +24,6 @@
 #include <exception>
 using std::exception;
 #endif
-#if defined(__GLIBCXX__)
-namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364
-#endif
 #include <typeinfo>  // for 'typeid' to work
 
 #endif
index 927342cb0313a429fe49d3a658fbd010f3460ad8..93ef51c3ec9ea6ef895fb44e334969f8e04b9970 100644 (file)
  * C++ I/O stream API.
  */
 
-#if defined(__GLIBCXX__)
-namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364
-#endif
-
 #include <iostream>
 
 U_NAMESPACE_BEGIN