This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/5452: The following code compiles. Why? MSVC++6 does not.
- From: p dot klotz at icoserve dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 22 Jan 2002 13:29:15 -0000
- Subject: c++/5452: The following code compiles. Why? MSVC++6 does not.
- Reply-to: p dot klotz at icoserve dot com
>Number: 5452
>Category: c++
>Synopsis: The following code compiles. Why? MSVC++6 does not.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 22 05:36:05 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: p.klotz@icoserve.com
>Release: unknown-1.0
>Organization:
>Environment:
Red Hat Linux, gcc 3.0.2
>Description:
#include <string>
int main(void)
{
+"/"+std::string("/");
return 0;
}
>How-To-Repeat:
g++ -W -Wall prg.cpp
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: