[libobjc] Make exception.c safe for unwind.h
Jakub Jelinek
jakub@redhat.com
Thu May 19 16:38:00 GMT 2005
On Thu, May 19, 2005 at 10:25:14AM -0600, Tom Tromey wrote:
> >>>>> "Andreas" == Andreas Schwab <schwab@suse.de> writes:
>
> Andreas> unwind.h is also used by libjava.
>
> Andreas> 2005-05-19 Andreas Schwab <schwab@suse.de>
> Andreas> * configure.ac (GCC_UNWIND_INCLUDE): Add
> Andreas> `-I$(libgcj_basedir)/../include'.
> Andreas> * configure: Regenerate.
> Andreas> * include/java-stack.h: Include <tsystem.h>.
>
> Why not just do what libjava/exception.cc does?
>
> #define gcc_unreachable() ::abort ()
Or don't use gcc_assert() and gcc_unreachable() in target libraries/
objects at all?
Jakub
More information about the Java-patches
mailing list