libstdc++/1968: bits/std_fstream.h fails to define typedef for _ctype_type.
bumgard@roguewave.com
bumgard@roguewave.com
Tue Feb 13 12:46:00 GMT 2001
>Number: 1968
>Category: libstdc++
>Synopsis: bits/std_fstream.h fails to define typedef for _ctype_type.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 13 12:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Gregory Bumgardner
>Release: gcc_3_0_branch as of 20010212
>Organization:
>Environment:
N/A
>Description:
The basic_filebuf::imbue() functon in bits/fstream.tcc has
a call to use_facet<_ctype_type>() but _ctype_type has not
been defined.
>How-To-Repeat:
Use imbue() function on an instantiation of basic_filebuf.
>Fix:
Add the following typedef to the basic_filebuf class decl
in bits/std_fstream.h
typedef ctype<_CharT> _ctype_type;
I will submit a patch.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list