This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/4538
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: libstdc++/4538
- From: Craig Rodrigues <rodrigc at mediaone dot net>
- Date: Sun, 14 Oct 2001 02:55:28 -0400
- Cc: gcc-gnats at gcc dot gnu dot org, brendan at zen dot org, rodrigc at gcc dot gnu dot org
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4538&database=gcc
Please apply the following patch so that I can close PR 4538.
It applies to mainline and branch.
2001-10-10 Brendan Kehoe <brendan@zen.org>
* bits/std_limits.h: Clean up extra semicolons.
* bits/locale_facets.h: Likewise.
* bits/type_traits.h: Likewise.
Index: include/bits/std_limits.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/std_limits.h,v
retrieving revision 1.6
diff -u -p -r1.6 std_limits.h
--- std_limits.h 2001/09/12 07:39:46 1.6
+++ std_limits.h 2001/10/10 11:44:25
@@ -1861,8 +1861,8 @@ namespace std
static const bool has_quiet_NaN = __glibcpp_double_has_quiet_NaN;
static const bool has_signaling_NaN = __glibcpp_double_has_signaling_NaN;
static const float_denorm_style has_denorm =
- __glibcpp_double_has_denorm;;
- static const bool has_denorm_loss = __glibcpp_double_has_denorm_loss;;
+ __glibcpp_double_has_denorm;
+ static const bool has_denorm_loss = __glibcpp_double_has_denorm_loss;
static double infinity() throw()
{ return __glibcpp_double_infinity; }
Index: include/bits/locale_facets.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/locale_facets.h,v
retrieving revision 1.23
diff -u -p -r1.23 locale_facets.h
--- locale_facets.h 2001/10/02 18:44:39 1.23
+++ locale_facets.h 2001/10/10 11:44:22
@@ -990,7 +994,7 @@ namespace std
_M_compare_helper(const _CharT*, const _CharT*) const;
size_t
- _M_transform_helper(_CharT*, const _CharT*, size_t) const;;
+ _M_transform_helper(_CharT*, const _CharT*, size_t) const;
protected:
virtual
Index: include/bits/type_traits.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/type_traits.h,v
retrieving revision 1.7
diff -u -p -r1.7 type_traits.h
--- type_traits.h 2001/06/27 17:09:52 1.7
+++ type_traits.h 2001/10/10 11:44:34
@@ -329,7 +329,7 @@ template<typename _Tp> struct _Is_normal
// Forward declaration hack, should really include this from somewhere.
namespace std {
template<typename _Iterator, typename _Container> class __normal_iterator;
-};
+}
template<typename _Iterator, typename _Container>
struct _Is_normal_iterator< std::__normal_iterator<_Iterator, _Container> > {
--
Craig Rodrigues
http://www.gis.net/~craigr
rodrigc@mediaone.net