pike.git / src / error.c

version» Context lines:

pike.git/src/error.c:15:   #include "array.h"   #include "object.h"   #include "main.h"   #include "builtin_functions.h"   #include "backend.h"   #include "operators.h"   #include "module_support.h"   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.72 2001/06/18 15:44:40 grubba Exp $"); + RCSID("$Id: error.c,v 1.73 2001/07/01 21:34:50 mast Exp $");      #undef ATTRIBUTE   #define ATTRIBUTE(X)      /*    * Attempt to inhibit throwing of errors if possible.    * Used by exit_on_error() to avoid infinite sprintf() loops.    */   int Pike_inhibit_errors = 0;   
pike.git/src/error.c:125:    longjmp(Pike_interpreter.recoveries->recovery,1);   }      PMOD_EXPORT void push_error(const char *description)   {    push_text(description);    f_backtrace(0);    f_aggregate(2);   }    - PMOD_EXPORT struct svalue throw_value = { PIKE_T_INT }; + PMOD_EXPORT struct svalue throw_value = { +  PIKE_T_INT, 0, + #ifdef HAVE_UNION_INIT +  {0}, /* Only to avoid warnings. */ + #endif + };   int throw_severity;   static const char *in_error;      PMOD_EXPORT DECLSPEC(noreturn) void low_error(const char *buf) ATTRIBUTE((noreturn))   {    push_error(buf);    free_svalue(& throw_value);    throw_value = *--Pike_sp;    throw_severity = THROW_ERROR;    in_error=0;