Re: [AD] Exceptions, Stack, and Allegro |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> It's not about removing an optimisation, but adding -fexceptions to the
> gcc command-line (and -shared-libgcc for the shared object). I don't
> think it will be that easy to selectively add -fexceptions for gui.c and
> guiproc.c, but if you send in a patch I guess it could be accepted.
This can't be rocket science though. ;-)
> Have you considered using setjmp/longjmp instead of throwing exceptions?
Death to setjmp/longjmp, especially in C++. Also note that selectively
compiling with -fexceptions is the preferred way to go, qsort() and bsearch()
are compiled with this option in glibc.
--
Eric Botcazou