Commit 9e24dfe5 authored by Kai Vogelgesang's avatar Kai Vogelgesang Committed by Andreas Schmidt

Add __FILE__ and __LINE__ macros to PERROR

parent 5176d564
Pipeline #3126 failed with stages
in 1 minute and 39 seconds
......@@ -10,7 +10,7 @@ void print_gf(const gf *start, const int len);
void pin_thread_to_core(pthread_attr_t *ap, int core);
#define PERROR(fmt, args...) \
printf("PRRT ERROR: \n" fmt, ## args);
printf("PRRT ERROR (" __FILE__ ":%d)\n" fmt, __LINE__, ## args);
#define PNOTIMPLEMENTED(args) \
printf("NOT IMPLEMENTED: %s\n", args); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment