2 ms·
I never knew that there was a __COUNTER__ macro, that's neat, thanks! It's not standardized but seems fairly portable since both GNU and Microsoft support it. O
by tom_mellior 9y ago
I never knew that there was a __COUNTER__ macro, that's neat, thanks! It's not standardized but seems fairly portable since both GNU and Microsoft support it. On the other hand, __FILE__ and __LINE__ have always been in the C standard.
Anyway, this is a neat project, but you don't say much about practical use. Do I really have to manually add TRACE() to the start of every function if I want it to show up in a stack trace, or is there a better way?