And what is that reason?
Type: Posts; User: ggambett
And what is that reason?
Sorry for the confusion. "If I put __FUNCTION__ inside main() instead of through a macro the result is the same" meant yes.
Anyway, I now believe there's no solution - concatenating __FUNCTION__...
Yes. I investigated a little further, and came to this : the following code
#define FOOBAR const char* __fnname = __FUNCTION__ "A";
#define QUUX const char* __fnname = __FILE__ "A";
int main...
Hi guys, my first post here.
I'm having trouble doing string concatenation at the preprocessor level.
This works fine :
#define A "TOKEN1" "TOKEN2"
and this also works fine:
#define A...