ott wrote:
On Sun, May 01, 2005 at 04:19:09PM -0500, David White wrote:
In Wesnoth 0.9.1, checksumstream is derived from
std::basic_ostream, and has a checksumstreambuf sbuf; as a member,
where checksumstreambuf is derived from std::basic_streambuf
This causes a crash in VC++6 with STLPor
On Sun, May 01, 2005 at 04:19:09PM -0500, David White wrote:
> In Wesnoth 0.9.1, checksumstream is derived from
> std::basic_ostream, and has a checksumstreambuf sbuf; as a member,
> where checksumstreambuf is derived from std::basic_streambuf
>
> This causes a crash in VC++6 with STLPort.
[...]
In Wesnoth 0.9.1, checksumstream is derived from
std::basic_ostream, and has a checksumstreambuf sbuf; as a member,
where checksumstreambuf is derived from std::basic_streambuf
Its constructor looks like this:
checksumstream::checksumstream() : std::basic_ostream(&sbuf)
{
}
This is a problem