Mail Archives: djgpp/1998/03/11/20:26:06
Jerzy Witkowski wrote :
>
> First (minor one): when including <vector.h> with -Wall option,
> compiler warns about symbol NULL defined twice: in string.h and
> libio.h files.
SET answered this already. It's a problem with the DJGPP libc
headers and not with gcc itself.
>
> Second, rather serious: exceptions cannot be caught. The
> following program:
Thanks for finding this out. This is a real DJGPP specific bug.
I found already now the location but as I can overlook it, it
is not trivial to fix. The main problem here is, that gcc comes
with it's own startupfiles which initialize all that exception
handling (tables and so on) which isn't done on DJGPP so the
exceptions will not work.
I'm now on the search for a solution but I think this will need
some time. Or is someone else there to find a solution ? :-) ?
OK, again the bad info for all: Currently exceptions do _NOT_
work on DJGPP!!! Or better, exceptions itself do work, but you
cannot catch them, you will ever get a "Abort!\n"
Robert
--
******************************************************
* email: Robert Hoehne <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -