how to use SET_DEBUG_TYPE("foo") macro?

hi,all:
I am trying to add SET_DEBUG_TYPE(“foo”) macro into my code, but when i compiled it, i got an error :
error: expected constructor, destructor, or type conversion before ‘(’ token
I suppose this macro can not be identified.

If anyone can give me some advise?

thanks,

ccwang