Author: petdance Date: Fri Jun 1 13:21:49 2007 New Revision: 18726 Modified: trunk/include/parrot/exceptions.h
Log: Add function attributes for noreturn to help GCC Modified: trunk/include/parrot/exceptions.h ============================================================================== --- trunk/include/parrot/exceptions.h (original) +++ trunk/include/parrot/exceptions.h Fri Jun 1 13:21:49 2007 @@ -1,5 +1,5 @@ /* exceptions.h - * Copyright (C) 2001-2003, The Perl Foundation. + * Copyright (C) 2001-2007, The Perl Foundation. * SVN Info * $Id$ * Overview: @@ -176,12 +176,14 @@ PARROT_API PMC* new_c_exception_handler(Parrot_Interp, Parrot_exception *jb); PARROT_API void push_new_c_exception_handler(Parrot_Interp, Parrot_exception *jb); -PARROT_API void rethrow_c_exception(Parrot_Interp interp); +PARROT_API void rethrow_c_exception(Parrot_Interp interp) + __attribute__noreturn__; /* * internal exception handling */ -PARROT_API void do_exception(Parrot_Interp, INTVAL severity, long error); +PARROT_API void do_exception(Parrot_Interp, INTVAL severity, long error) + __attribute__noreturn__; PARROT_API void new_internal_exception(Parrot_Interp); PARROT_API void free_internal_exception(Parrot_Interp);
