Mail Archives: djgpp/1998/06/19/00:05:48
Gautier de Montmollin wrote:
>
> > > If you really want to program with exceptions, use a language
> > > where they are defined as standard and work: Ada. GNAT Ada 95 for
> > > DOS uses DJGPP 2.01 as back-end and exceptions _do_ work !
> >
> > I like C++ and exceptions ARE a standard in the language, so I don't
> > see what the big deal is.
>
> It isn't that I dislike C++. But maybe is the standard too fresh ? Exceptions
> should work as well as loops in any compiler. The advantage in Ada is that
> exceptions are among the basic structures of the language, from the 1st version.
> Examples:
As he says, exceptions are standard and well-defined for C++, and as you
say, they should work. The fact that they don't, in this case, appears
to be an installation problem on his part. Exceptions have only
recently been made to work in GCC, and DJGPP is still adjusting to the
respective changes that had to be made here.
So it's not that the standard is too fresh, it's that the compiler is
too fresh. :)
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -