pike.git / src / pike_error.h

version» Context lines:

pike.git/src/pike_error.h:40:   #define LOW_LONGJMP(X, Y) _longjmp(X, Y)   #else   /* Assume we have setjmp and longjmp, they are after all defined by ANSI C. */   #define HAVE_AND_USE_SETJMP   #define LOW_JMP_BUF jmp_buf   #define LOW_SETJMP(X) setjmp(X)   #define LOW_SETJMP_FUNC setjmp   #define LOW_LONGJMP(X, Y) longjmp(X, Y)   #endif    - #if 1 +    PMOD_EXPORT extern const char msg_fatal_error[];   #define Pike_fatal \    (fprintf(stderr,msg_fatal_error,__FILE__,(long)__LINE__),debug_fatal) - #else - /* This is useful when debugging assembler code sometimes... -Hubbe */ - #define Pike_fatal \ -  (fprintf(stderr,"%s: Fatal error:\n",__FILE__ ":" DEFINETOSTR(__LINE__) ),debug_fatal) - #endif +       #define pike_fatal_dloc \    (fprintf (stderr, msg_fatal_error, DLOC_ARGS), debug_fatal)      PMOD_EXPORT DECLSPEC(noreturn) void debug_va_fatal(const char *fmt, va_list args) ATTRIBUTE((noreturn));   PMOD_EXPORT DECLSPEC(noreturn) void debug_fatal(const char *fmt, ...) ATTRIBUTE((noreturn));         #include "svalue.h"