🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Joshua Levy Wed, 06 Jan 1993 02:19
exceptions (try/catch) in gcc
#810
Author: Joshua Levy
Date: Wed, 06 Jan 1993 02:19
8 lines
655 bytes
I can not compile simple C++ programs which contain exceptions,
such as described in appendix B of the Lippman book (2nd edition).
I have tried with gcc 2.2.2 and 2.3.3 on a SunOS 4.1.2 machine.
Try does not seem to be a key word, nor does throw.
Should this work?  I thought gcc 2.x supported templates and
exceptions...

Joshua Levy  (joshua@veritas.com)
Re: exceptions (try/catch) in gcc
#815
Author: tiemann
Date: Tue, 05 Jan 1993 23:55
30 lines
1762 bytes
   To: help-gcc@prep.ai.mit.edu
   Date: 6 Jan 93 02:19:48 GMT
   Organization: VERITAS Software
   From: joshua@veritas.com (Joshua Levy)
   Subject: exceptions (try/catch) in gcc
   
   I can not compile simple C++ programs which contain exceptions,
   such as described in appendix B of the Lippman book (2nd edition).
   I have tried with gcc 2.2.2 and 2.3.3 on a SunOS 4.1.2 machine.
   Try does not seem to be a key word, nor does throw.
   Should this work?  I thought gcc 2.x supported templates and
   exceptions...
   
   Joshua Levy  (joshua@veritas.com)

GNU C++ does support templates, but it does not (yet) support
ANSI-style exceptions.  Cygnus Support is targeting a June date for
the release of a version which supports exceptions.

It is a fair amount of work to implement this feature, and if you keep
up to date on the bug-fixing we've been doing at Cygnus, you know that
it's a fair amount of work just supporting GNU C++ users who report
bugs to the net.  I encourage people who wish to use GNU C++
commercially to contact Cygnus Support (info@cygnus.com) for
information about our commercial support services for GNU C++ and
other GNU software.  It is our customers who enable us to maintain GNU
C++ as a viable (and friendly) alternative to proprietary software.

Michael Tiemann
Cygnus Support
Re: exceptions (try/catch) in gcc
#817
Author: Joshua Levy
Date: Wed, 06 Jan 1993 18:01
11 lines
849 bytes
In article <1993Jan06.021948.29272@Veritas.COM> joshua@Veritas.COM (Joshua Levy) writes:
>I can not compile simple C++ programs which contain exceptions,
>such as described in appendix B of the Lippman book (2nd edition).
>Should this work?  I thought gcc 2.x supported templates and
>exceptions...

Cygnus sent me (via email) the answer to my question.  Basically, gcc 2.x 
supports templates now, but will not support exceptions until later.  They 
are trying for June.

Joshua Levy  (joshua@veritas.com)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads