Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020423081049.8981.qmail@web14510.mail.yahoo.com> Date: Tue, 23 Apr 2002 18:10:49 +1000 (EST) From: =?iso-8859-1?q?Danny=20Smith?= Subject: RE: c++ char exceptions To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/