This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libobjc] Make exception.c safe for unwind.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]