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
>Originator:     Thomas Kunert
>Release:        gcc version 2.96 20000911 (experimental)
// This program returns 1 instead of the expected 0.

#include <string>
int main()
    return std::string("blah!") == "";



More information about the Gcc-bugs mailing list