]> git.pld-linux.org Git - packages/crossmingw64-gcc.git/blob - gcc-c++98.patch
- updated to 6.5.0
[packages/crossmingw64-gcc.git] / gcc-c++98.patch
1 --- gcc-6.5.0/libstdc++-v3/src/c++98/ios_failure.cc.orig        2018-08-08 17:40:11.000000000 +0200
2 +++ gcc-6.5.0/libstdc++-v3/src/c++98/ios_failure.cc     2018-12-09 18:36:29.106481145 +0100
3 @@ -122,13 +122,16 @@
4      // Otherwise proceeed as normal to see if the handler matches.
5      return __class_type_info::__do_upcast(dst_type, obj_ptr);
6    }
7 -#else // _GLIBCXX_USE_DUAL_ABI && __cpp_rtti
8 -  using __iosfailure = ios::failure;
9 -#endif
10  
11    void
12    __throw_ios_failure(const char* __s __attribute__((unused)))
13    { _GLIBCXX_THROW_OR_ABORT(__iosfailure(_(__s))); }
14 +#else // _GLIBCXX_USE_DUAL_ABI && __cpp_rtti
15 +
16 +  void
17 +  __throw_ios_failure(const char* __s __attribute__((unused)))
18 +  { _GLIBCXX_THROW_OR_ABORT(ios::failure(_(__s))); }
19 +#endif
20  
21  _GLIBCXX_END_NAMESPACE_VERSION
22  } // namespace
This page took 0.070773 seconds and 3 git commands to generate.