mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
log: do not use V macro which ambigious when compiling against Eigen3
This commit is contained in:
parent
d59c75316f
commit
a76c4d04e3
9 changed files with 8 additions and 9 deletions
|
@ -62,7 +62,6 @@ extern "C" {
|
|||
#define KERNEL_VERSION_MIN 6
|
||||
|
||||
#cmakedefine BUILDID "@BUILDID@"
|
||||
#cmakedefine V @V@
|
||||
#cmakedefine PREFIX "@PREFIX@"
|
||||
|
||||
/* Available Features */
|
||||
|
|
|
@ -51,7 +51,7 @@ void register_default_log()
|
|||
int ret;
|
||||
static struct log default_log;
|
||||
|
||||
ret = log_init(&default_log, V, LOG_ALL);
|
||||
ret = log_init(&default_log, 2, LOG_ALL);
|
||||
if (ret)
|
||||
error("Failed to initalize log");
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ int super_node_init(struct super_node *sn)
|
|||
|
||||
assert(sn->state == STATE_DESTROYED);
|
||||
|
||||
ret = log_init(&sn->log, V, LOG_ALL);
|
||||
ret = log_init(&sn->log, 2, LOG_ALL);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ static void usage()
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int ret, level = V;
|
||||
int ret, level = 2;
|
||||
const char *input_format = "villas.human";
|
||||
const char *output_format = "villas.human";
|
||||
|
||||
|
|
|
@ -243,7 +243,7 @@ leave: info("Reached receive limit. Terminating...");
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int ret, level = V, timeout = 0;
|
||||
int ret, level = 2, timeout = 0;
|
||||
bool reverse = false;
|
||||
const char *format = "villas.human";
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ check: if (optarg == endptr)
|
|||
if (ret)
|
||||
error("Failed to initialize signals");
|
||||
|
||||
ret = log_init(&sn.log, V, LOG_ALL);
|
||||
ret = log_init(&sn.log, 2, LOG_ALL);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ int main(int argc, char* argv[])
|
|||
.samplelen = DEFAULT_SHMEM_SAMPLELEN
|
||||
};
|
||||
|
||||
log_init(&log, V, LOG_ALL);
|
||||
log_init(&log, 2, LOG_ALL);
|
||||
log_open(&log);
|
||||
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ static struct log l;
|
|||
|
||||
static void init()
|
||||
{
|
||||
log_init(&l, V, LOG_ALL);
|
||||
log_init(&l, 2, LOG_ALL);
|
||||
}
|
||||
|
||||
static void fini()
|
||||
|
|
|
@ -39,7 +39,7 @@ int main(int argc, char *argv[])
|
|||
struct criterion_test_set *tests;
|
||||
struct log log;
|
||||
|
||||
ret = log_init(&log, V, LOG_ALL);
|
||||
ret = log_init(&log, 2, LOG_ALL);
|
||||
if (ret)
|
||||
error("Failed to initialize logging sub-system");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue