#include <sstream>
#include <cerrno>
#include <cstdlib>
#include <string.h>
#include "galois/config.h"
Go to the source code of this file.
|
| galois |
| The Galois namespace containing all Galois structures and functions.
|
|
#define GALOIS_ASSERT |
( |
|
cond, |
|
|
|
... |
|
) |
| |
Value:do { \
bool b = (cond); \
galois::gError(__FILE__,
":", __LINE__,
": assertion failed: ", #cond, \
" ", ##__VA_ARGS__); \
abort(); \
} \
} while (0)
void gError(Args &&...args)
Prints error message.
Definition: gIO.h:82
Like assert but unconditionally executed.
#define GALOIS_DIE |
( |
|
... | ) |
|
Value:
abort(); \
} while (0)
void gError(Args &&...args)
Prints error message.
Definition: gIO.h:82
#define GALOIS_SYS_DIE |
( |
|
... | ) |
|
Value:
galois::gError(__FILE__,
":", __LINE__,
": ", strerror(errno),
": ", \
##__VA_ARGS__); \
abort(); \
} while (0)
void gError(Args &&...args)
Prints error message.
Definition: gIO.h:82