c++/5595: illegal concstructor invokation
jason@gcc.gnu.org
jason@gcc.gnu.org
Mon Mar 18 09:57:00 GMT 2002
Synopsis: illegal concstructor invokation
Responsible-Changed-From-To: unassigned->jason
Responsible-Changed-By: jason
Responsible-Changed-When: Mon Mar 18 09:57:40 2002
Responsible-Changed-Why:
x
State-Changed-From-To: open->closed
State-Changed-By: jason
State-Changed-When: Mon Mar 18 09:57:40 2002
State-Changed-Why:
There is no bug here. "false" is a valid argument to the string constructor taking a char*. The constructor doesn't like getting a null pointer, so it throws an exception. You don't catch the exception, so the program terminates.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5595
More information about the Gcc-prs
mailing list