c++ char exceptions

Robert Collins robert.collins@itdomain.com.au
Tue Apr 23 01:15:00 GMT 2002

I don't know if this is a cygwin issue or if I am doing something
fundamentally wrong...

main (int argc, char **argv)
      throw "catch this";
  catch (char *message) 
      return 1;
  return 0;

coredumps on me. Throwing int's works fine. Throwing (string) "foo"
works fine.

Anyway, this is partly for the archives, partly for curiosity.


Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list