so, we have built-in __FILE__ and __LINE__
how could we define
__FILELINE__ macros so it would be smth like, for example, "file.c:11"
i've tried
#define __FILELINE__ __FILE__ ## ":" ## __LINE__
and
#define __FILELINE__ __FILE__ ## ":" ## #__LINE__
and a bunch of different combinations but none work for me :(
how could we define
__FILELINE__ macros so it would be smth like, for example, "file.c:11"
i've tried
#define __FILELINE__ __FILE__ ## ":" ## __LINE__
and
#define __FILELINE__ __FILE__ ## ":" ## #__LINE__
and a bunch of different combinations but none work for me :(