diff options
author | kan <kan@FreeBSD.org> | 2003-08-22 02:57:05 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-08-22 02:57:05 +0000 |
commit | 772b3187f82b180beb7dd406be6f9896b7800db1 (patch) | |
tree | 4b8fc6d4987b15358fe849429e36eda706a321a5 /contrib/libstdc++/include | |
parent | 08db0e4d745472adc9c30de407304713c78e950e (diff) | |
download | FreeBSD-src-772b3187f82b180beb7dd406be6f9896b7800db1.zip FreeBSD-src-772b3187f82b180beb7dd406be6f9896b7800db1.tar.gz |
Gcc 3.3.1-release C++ support bits.
Diffstat (limited to 'contrib/libstdc++/include')
-rw-r--r-- | contrib/libstdc++/include/bits/c++config | 2 | ||||
-rw-r--r-- | contrib/libstdc++/include/bits/locale_facets.tcc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libstdc++/include/bits/c++config b/contrib/libstdc++/include/bits/c++config index 1716e25..1b4c2d2 100644 --- a/contrib/libstdc++/include/bits/c++config +++ b/contrib/libstdc++/include/bits/c++config @@ -35,7 +35,7 @@ #include <bits/os_defines.h> // The current version of the C++ library in compressed ISO date format. -#define __GLIBCPP__ 20030711 +#define __GLIBCPP__ 20030804 // This is necessary until GCC supports separate template compilation. #define _GLIBCPP_NO_TEMPLATE_EXPORT 1 diff --git a/contrib/libstdc++/include/bits/locale_facets.tcc b/contrib/libstdc++/include/bits/locale_facets.tcc index b8b9918..9ad4dfe 100644 --- a/contrib/libstdc++/include/bits/locale_facets.tcc +++ b/contrib/libstdc++/include/bits/locale_facets.tcc @@ -1278,7 +1278,7 @@ namespace std } // Strip leading zeros. - while (__temp_units[0] == __ctype.widen('0')) + while (__temp_units.size() > 1 && __temp_units[0] == __ctype.widen('0')) __temp_units.erase(__temp_units.begin()); if (__sign.size() && __sign == __neg_sign) |