diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-27 00:49:03 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-27 00:49:03 +0000 |
commit | 5ed189cbe64af93ee3002fda13be5961b371952d (patch) | |
tree | 5ac96d9ed6f5b575800e2c989c91fdf9a70e88ab /libstdc++-v3/config | |
parent | 90d7767778a4510944182a7d491af62da8f29fa7 (diff) | |
download | gcc-5ed189cbe64af93ee3002fda13be5961b371952d.tar.gz |
2004-01-26 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/c_locale.cc: Fix throw messages
to use the __N marker.
* config/locale/gnu/c_locale.cc: Likewise.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h:
Likewise.
* docs/html/17_intro/C++STYLE: Likewise.
* include/bits/basic_ios.tcc: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/bits/vector.tcc: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/std/std_bitset.h: Likewise.
* src/ios.cc: Likewise.
* src/locale.cc: Likewise.
* src/localename.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76684 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/locale/generic/c_locale.cc | 4 | ||||
-rw-r--r-- | libstdc++-v3/config/locale/gnu/c_locale.cc | 4 | ||||
-rw-r--r-- | libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/libstdc++-v3/config/locale/generic/c_locale.cc b/libstdc++-v3/config/locale/generic/c_locale.cc index a214e00b516..730c3662ea6 100644 --- a/libstdc++-v3/config/locale/generic/c_locale.cc +++ b/libstdc++-v3/config/locale/generic/c_locale.cc @@ -152,8 +152,8 @@ namespace std // See http://gcc.gnu.org/ml/libstdc++/2003-02/msg00345.html __cloc = NULL; if (strcmp(__s, "C")) - __throw_runtime_error("locale::facet::_S_create_c_locale " - "name not valid"); + __throw_runtime_error(__N("locale::facet::_S_create_c_locale " + "name not valid")); } void diff --git a/libstdc++-v3/config/locale/gnu/c_locale.cc b/libstdc++-v3/config/locale/gnu/c_locale.cc index b808f70e5f9..bf975b98bac 100644 --- a/libstdc++-v3/config/locale/gnu/c_locale.cc +++ b/libstdc++-v3/config/locale/gnu/c_locale.cc @@ -100,8 +100,8 @@ namespace std if (!__cloc) { // This named locale is not supported by the underlying OS. - __throw_runtime_error("locale::facet::_S_create_c_locale " - "name not valid"); + __throw_runtime_error(__N("locale::facet::_S_create_c_locale " + "name not valid")); } } diff --git a/libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h b/libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h index 93d0e5acc35..efa8c378360 100644 --- a/libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h +++ b/libstdc++-v3/config/locale/ieee_1003.1-2001/codecvt_specializations.h @@ -130,15 +130,15 @@ { _M_in_desc = iconv_open(_M_int_enc, _M_ext_enc); if (_M_in_desc == __err) - __throw_runtime_error("__enc_traits::_M_init " - "creating iconv input descriptor failed"); + __throw_runtime_error(__N("__enc_traits::_M_init " + "creating iconv input descriptor failed")); } if (!_M_out_desc) { _M_out_desc = iconv_open(_M_ext_enc, _M_int_enc); if (_M_out_desc == __err) - __throw_runtime_error("__enc_traits::_M_init " - "creating iconv output descriptor failed"); + __throw_runtime_error(__N("__enc_traits::_M_init " + "creating iconv output descriptor failed")); } } |