--- mercury-compiler-0.12.2.orig/library/exception.m 2005-01-25 12:16:37.000000000 +1300 +++ mercury-compiler-0.12.2/library/exception.m 2006-12-30 11:59:15.000000000 +1300 @@ -1939,7 +1939,7 @@ MR_proc_static_user_no_site(exception, builtin_throw, 1, 0, ""exception.m"", MR_DUMMY_LINE, MR_TRUE); -MR_STATIC_USER_PROC_STATIC_PROC_LAYOUT( +MR_EXTERN_USER_PROC_STATIC_PROC_LAYOUT( MR_DETISM_DET, 1, MR_LONG_LVAL_STACKVAR(1), MR_PREDICATE, exception, builtin_throw, 1, 0); MR_MAKE_USER_INTERNAL_LAYOUT(exception, builtin_throw, 1, 0, 1);