This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: c++ char exceptions
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Apr 2002 18:10:49 +1000 (EST)
- Subject: RE: c++ char exceptions
Robert wrote:
>
> I don't know if this is a cygwin issue or if I am doing something
> fundamentally wrong...
>
You threw const char*
int
main (int argc, char **argv)
{
try
{
throw "catch this";
}
catch (const char *message)
// ^^^^^
{
return 1;
}
return 0;
}
>
http://messenger.yahoo.com.au - Yahoo! Messenger
- A great way to communicate long-distance for FREE!
--
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/