In order to add \'todo\' items into my code, I want to put a message in the compiler output. I would like it to look like this:
c:/temp/main.cpp(104): TODO -
Use the # token. I've posted an example from MSDN below:
// collisions.h #define __STR2__(x) #x #define __STR1__(x) __STR2__(x) #define __LOC__ __FILE__ "("__STR1__(__LINE__)") : Warning Msg: " // collisions.cpp #pragma message(__LOC__"Need to do 3D collision testing")