c++/524: strings act badly
kunert@physik.tu-dresden.de
kunert@physik.tu-dresden.de
Mon Sep 11 05:56:00 GMT 2000
>Number: 524
>Category: c++
>Synopsis: strings act badly
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 11 05:56:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Thomas Kunert
>Release: gcc version 2.96 20000911 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
// This program returns 1 instead of the expected 0.
#include <string>
int main()
{
return std::string("blah!") == "";
}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list