Tool/software: TI C/C++ Compiler
CCS v 8.3.0.00009
The following header code generates several odd error messages:
extern void Info_Msg( char* );
inline void Info_Msg( const char* pMsg ) { Info_Msg(const_cast<char*>(pMsg)); }
error #148: declaration is incompatible with "void Info_Msg(char *)"
error #20: identifier "const_cast" is undefined
error #29: expected an expression
This compiles successfully in Sourcery Codebench IDE 2015.12-104 (gcc)