This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
- From: carlo at alinoe dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 25 May 2002 12:44:11 -0000
- Subject: libstdc++/6811: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
- Reply-to: carlo at alinoe dot com
>Number: 6811
>Category: libstdc++
>Synopsis: Missing 'return *this' in __enc_traits& operator=(const __enc_traits& __obj)' in 3.1 release
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 25 05:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: carlo@alinoe.com
>Release: 3.1
>Organization:
>Environment:
>Description:
Missing 'return *this'
in
/usr/local/gcc-3.1/include/g++-v3/i686-pc-linux-gnu/bits/codecvt_specializations.h
__enc_traits&
operator=(const __enc_traits& __obj)
{
strncpy(_M_int_enc, __obj._M_int_enc, _S_max_size);
strncpy(_M_ext_enc, __obj._M_ext_enc, _S_max_size);
_M_in_desc = 0;
_M_out_desc = 0;
_M_ext_bom = __obj._M_ext_bom;
_M_int_bom = __obj._M_int_bom;
}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: