This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/5595: illegal concstructor invokation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]