I am trying to build my code but getting error in below lines in header file sample.h
1 #ifndef FORMAT_STRING_H
2 #define FORMAT_STRING_H
3
4 #define FORMAT_STR( ovr, x, y, ... ) \
5 { \
6 char buf[100]; memset(buf, 0, 100);\
7 using namespace std; \
8 snprintf(buf, 99, __VA_ARGS__); \
9 ovr->drawStr( x, y, buf );\
10 }
11 #endif //FORMAT_STRING_H
and getting error at line 4 error: expected an identifier . I am not able to understand what is the problem exactly in mentioned line . I am using Ti DSP C6000 Code Generation Tools 7.3.0B3 compiler . Compiling C++ code .