28 #include <boost/exception/detail/error_info_impl.hpp> 29 #include <boost/exception/info.hpp> 40 #define GetCurrentDir _getcwd 41 #define PATH_MAX MAX_PATH 48 #define strcmpi strcasecmp 49 #define DIR_DELIMITER '/' 53 #define OPERATOR_NEW_THROW_EXCEPTION 92 #define xprintf(...) _xprintf(__FILE__, __func__, __LINE__, __VA_ARGS__) 94 int _xprintf(
const char *
const xprintf_file,
const char *
const xprintf_func,
const int xprintf_line,
MessageType type,
const char *
const fmt, ... );
149 if (ierr != 0)
THROW( ExcChkErr() << EI_ErrCode(ierr));
159 #ifdef FLOW123D_DEBUG_ASSERTS
struct SystemInfo SystemInfo
System structure for various global variables.
void chkerr(unsigned int ierr)
Replacement of new/delete operator in the spirit of xmalloc.
System structure for various global variables.
Global macros to enhance readability and debugging, general constants.
void chkerr_assert(unsigned int ierr)
MessageType
Identifiers for various output messages.
int _xprintf(const char *const xprintf_file, const char *const xprintf_func, const int xprintf_line, MessageType type, const char *const fmt,...)
Multi-purpose printing routine: messages, warnings, errors.
#define THROW(whole_exception_expr)
Wrapper for throw. Saves the throwing point.