ADTF  3.18.4
warn_todo.h
Go to the documentation of this file.
1 
8 #ifndef WARN_TODO_H
9 #define WARN_TODO_H
10 
12 #define _LINE2STR2(line) #line
14 #define _LINE2STR(line) _LINE2STR2(line)
15 #ifdef WIN32
17  #define WARN_TODO(msg) __FILE__ "("_LINE2STR(__LINE__)") : Warning Msg: " #msg
18 #else
20  #define WARN_TODO(msg) "WARNING: " #msg
21 #endif //WIN32
22 
23 // Use the macro as a #pragma to hand it over to the compiler.
24 //#pragma message(WARN_TODO(My ToDoWarning....))
25 
26 #endif