This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix libstdc++/6811


Hi,

the following one-liner fixes the PR. I wanted to cook up a testcase but 
Gaby pointed out that it is not very easy to find a portable one and 
perhaps we can simply fix the problem, for the time being.

Ok for both? (tested x86-linux, as usual)

Ciao, Paolo.

////////////////

2002-05-26  Carlo Wood  <carlo@alinoe.com>
            Paolo Carlini  <pcarlini@unitus.it>

        PR libstdc++/6811
        * config/locale/ieee_1003.1-2001/codecvt_specializations.h
        (__enc_traits::operator=): add missing return statement.

*** codecvt_specializations.h.orig    Sun May 26 15:24:24 2002
--- codecvt_specializations.h    Sun May 26 15:18:37 2002
***************
*** 110,115 ****
--- 110,116 ----
        _M_out_desc = 0;
        _M_ext_bom = __obj._M_ext_bom;
        _M_int_bom = __obj._M_int_bom;
+       return *this;
      }
 
      ~__enc_traits()




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]