version 1.56, 2021/01/16 16:03:46 |
version 1.57, 2021/01/16 16:53:23 |
|
|
curr_pos.p_uniq++; \ |
curr_pos.p_uniq++; \ |
if (curr_pos.p_file == csrc_pos.p_file) \ |
if (curr_pos.p_file == csrc_pos.p_file) \ |
csrc_pos.p_uniq++; \ |
csrc_pos.p_uniq++; \ |
} while (/*CONSTCOND*/0) |
} while (/*CONSTCOND*/false) |
|
|
/* |
/* |
* Strings cannot be referenced to simply by a pointer to its first |
* Strings cannot be referenced to simply by a pointer to its first |
Line 427 typedef struct err_set { |
|
Line 427 typedef struct err_set { |
|
do { \ |
do { \ |
if (!(cond)) \ |
if (!(cond)) \ |
assert_failed(__FILE__, __LINE__, __func__, #cond); \ |
assert_failed(__FILE__, __LINE__, __func__, #cond); \ |
} while (/*CONSTCOND*/0) |
} while (/*CONSTCOND*/false) |
|
|
#ifdef BLKDEBUG |
#ifdef BLKDEBUG |
#define ZERO 0xa5 |
#define ZERO 0xa5 |
Line 451 check_printf(const char *fmt, ...) |
|
Line 451 check_printf(const char *fmt, ...) |
|
do { \ |
do { \ |
check_printf(__CONCAT(MSG_, id), ##args); \ |
check_printf(__CONCAT(MSG_, id), ##args); \ |
(func)(id, ##args); \ |
(func)(id, ##args); \ |
} while (/*CONSTCOND*/0) |
} while (/*CONSTCOND*/false) |
|
|
# define error(id, args...) wrap_check_printf(error, id, ##args) |
# define error(id, args...) wrap_check_printf(error, id, ##args) |
# define warning(id, args...) wrap_check_printf(warning, id, ##args) |
# define warning(id, args...) wrap_check_printf(warning, id, ##args) |