Name: Anonymous 2013-11-25 1:46
What's wrong with just using something like
?
#ifdef __debugmode
printf("executing line 288 of anus.c");
#endif?
#ifdef __debugmode
printf("executing line 288 of anus.c");
#endif
#define STR(x) STRX(x)
#define STRX(x) #x
#define __LINE_STRING__ STR(__LINE__)
...
printf("now at line " __LINE_STRING__ " of file " __FILE __ "\n");