summaryrefslogblamecommitdiff
path: root/system/gcc/gcc-5.4.0-locale.patch
blob: e1b398b7f59e7943780c2d96b5c92a2a0733477e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                                                                                                 
                                                    








                                                                     
diff --git gcc-5.4.0/libstdc++-v3/config/locale/generic/c_locale.cc.orig gcc-5.4.0/libstdc++-v3/config/locale/generic/c_locale.cc
--- gcc-5.4.0/libstdc++-v3/config/locale/generic/c_locale.cc.orig
+++ gcc-5.4.0/libstdc++-v3/config/locale/generic/c_locale.cc
@@ -242,9 +242,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
     // Currently, the generic model only supports the "C" locale.
     // See http://gcc.gnu.org/ml/libstdc++/2003-02/msg00345.html
     __cloc = 0;
-    if (strcmp(__s, "C"))
-      __throw_runtime_error(__N("locale::facet::_S_create_c_locale "
-			    "name not valid"));
   }
 
   void