../Emd.Service.CapImageFlow/SharedMemory/../DebugAssint.h:43:84: error: unable to find string literal operator ‘operator""format’ with ‘const char [31]’, ‘long unsigned int’ arguments #define LOG_TRACE(format,...) fprintf(stdout,"[%s][TRACE][%ld %s:%d %s] >> "format"n",CurTime(),GetCurThreadID(),__FILE__,__LINE__,__FUNCTION__, ##__VA_ARGS__)
#define LOG_TRACE(format,...) fprintf(stdout,"[%s][TRACE][%ld %s:%d %s] >> " format"n",CurTime(),GetCurThreadID(),__FILE__,__LINE__,__FUNCTION__, ##__VA_ARGS__)
C可以编译通过,而C++编译出标题错误。
说是C++11要求,当字符串跟变量连接的时候,必须format前后增加一个空格才行。


![编译问题:error: unable to find string literal operator ‘operator““format’ with ‘const char [31]’ 编译问题:error: unable to find string literal operator ‘operator““format’ with ‘const char [31]’](http://www.mshxw.com/aiimages/31/630397.png)
