[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#149776: libstdc++4-dev: codecvt is missing some qualifications



Package: libstdc++4-dev
Version: 1:3.1.1-0pre1
Severity: normal
Tags: patch

The file /usr/include/g++-v3-3.1/i386-linux/bits/codecvt_specializations.h
(probably all other architectures as well) is missing some
qualifications that were already mentioned in Bug #104614.
Unfortunately, the patch was only made for libstdc++3-dev. Please
include this patch for libstdc++4.-dev as well:

--- codecvt_specializations.h-orig	Wed Jun 12 17:04:54 2002
+++ codecvt_specializations.h	Wed Jun 12 17:07:19 2002
@@ -260,7 +260,7 @@
 	   extern_type* __to, extern_type* __to_end,
 	   extern_type*& __to_next) const
     {
-      result __ret = error;
+      result __ret = codecvt_base::error;
       if (__state._M_good())
 	{
 	  typedef state_type::__desc_type	__desc_type;
@@ -304,7 +304,7 @@
 	    {
 	      __from_next = reinterpret_cast<const intern_type*>(__cfrom);
 	      __to_next = reinterpret_cast<extern_type*>(__cto);
-	      __ret = ok;
+	      __ret = codecvt_base::ok;
 	    }
 	  else 
 	    {
@@ -312,10 +312,10 @@
 		{
 		  __from_next = reinterpret_cast<const intern_type*>(__cfrom);
 		  __to_next = reinterpret_cast<extern_type*>(__cto);
-		  __ret = partial;
+		  __ret = codecvt_base::partial;
 		}
 	      else
-		__ret = error;
+		__ret = codecvt_base::error;
 	    }
 	}
       return __ret; 
@@ -327,7 +327,7 @@
     do_unshift(state_type& __state, extern_type* __to, 
 	       extern_type* __to_end, extern_type*& __to_next) const
     {
-      result __ret = error;
+      result __ret = codecvt_base::error;
       if (__state._M_good())
 	{
 	  typedef state_type::__desc_type	__desc_type;
@@ -345,14 +345,14 @@
 	    {
 	      __to_next = reinterpret_cast<extern_type*>(__cto);
 	      if (__tlen == __tmultiple * (__to_end - __to))
-		__ret = noconv;
+		__ret = codecvt_base::noconv;
 	      else if (__tlen == 0)
-		__ret = ok;
+		__ret = codecvt_base::ok;
 	      else
-		__ret = partial;
+		__ret = codecvt_base::partial;
 	    }
 	  else 
-	    __ret = error;
+	    __ret = codecvt_base::error;
 	}
       return __ret; 
     }
@@ -365,7 +365,7 @@
 	  intern_type* __to, intern_type* __to_end, 
 	  intern_type*& __to_next) const
     { 
-      result __ret = error;
+      result __ret = codecvt_base::error;
       if (__state._M_good())
 	{
 	  typedef state_type::__desc_type	__desc_type;
@@ -410,7 +410,7 @@
 	    {
 	      __from_next = reinterpret_cast<const extern_type*>(__cfrom);
 	      __to_next = reinterpret_cast<intern_type*>(__cto);
-	      __ret = ok;
+	      __ret = codecvt_base::ok;
 	    }
 	  else 
 	    {
@@ -418,10 +418,10 @@
 		{
 		  __from_next = reinterpret_cast<const extern_type*>(__cfrom);
 		  __to_next = reinterpret_cast<intern_type*>(__cto);
-		  __ret = partial;
+		  __ret = codecvt_base::partial;
 		}
 	      else
-		__ret = error;
+		__ret = codecvt_base::error;
 	    }
 	}
       return __ret; 



-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux kosh 2.4.18-k7 #1 Sun Apr 14 13:19:11 EST 2002 i686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8

Versions of packages libstdc++4-dev depends on:
ii  g++-3.1                    1:3.1.1-0pre1 The GNU C++ compiler.
ii  gcc-3.1-base               1:3.1.1-0pre1 The GNU Compiler Collection (base 
ii  libc6-dev                  2.2.5-6       GNU C Library: Development Librari
ii  libstdc++4                 1:3.1.1-0pre1 The GNU stdc++ library version 3

-- no debconf information


-- 
|=| Michael Piefel
|=| Humboldt-Universität zu Berlin
|=| Tel. (+49 30) 2093 3831


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: