This is the mail archive of the gcc-bugs@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]

Re: spam/3568: C++ exception handling error


Synopsis: C++ exception handling error

State-Changed-From-To: open->closed
State-Changed-By: ljrittle
State-Changed-When: Thu Jul  5 12:21:51 2001
State-Changed-Why:
    Not a bug.  const is honored with the throw-catch
    mechanism under C++.  Since you are throwing a const
    char*, you must catch const char* instead of char*.
    You are getting the default exception handler.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3568&database=gcc


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