#include <sys/types.h>
Include dependency graph for debug.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
AC The solution is not to use these macro with only one argument and to create a new macro (with 1 argument) for these cases.
Definition in file debug.h.
|
Value: if(!(expr)) { \ fprintf(stderr, "\nASSERT %s:%d: ******* Assertion " #expr " failed! ******* \n", __FILE__, __LINE__); \ } |
|
Value: if(!(expr)) { \ fprintf(stderr, "\nASSERT %s:%d: ******* Assertion " #expr " failed!" msg " ******* \n", __FILE__, __LINE__, ## args); \ } |
|
Value: { fprintf(stderr, "ERROR %s:%d:" msg "\n", __FILE__, __LINE__, ## args); \ exit (-1); } |