$ g++ -c ex01.cpp -municode
ex01.cpp:40:128: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
static const TCHAR* IMAGE_TYPE[] = {_T("image/bmp"), _T("image/jpeg"), _T("imag
e/gif"), _T("image/tiff"), _T("image/png"), NULL};
^
ex01.cpp:40:128: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
ex01.cpp:40:128: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
ex01.cpp:40:128: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
ex01.cpp:40:128: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
ex01.cpp:41:103: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
static const TCHAR* IMAGE_SUFFIX[] = {_T(".bmp"), _T(".jpg"), _T(".gif"), _T(".
tif"), _T(".png"), NULL};
^
ex01.cpp:41:103: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
ex01.cpp:41:103: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
ex01.cpp:41:103: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
ex01.cpp:41:103: error: cannot convert 'const char*' to 'const TCHAR*' {aka 'con
st wchar_t*'} in initialization
【 在 poocp (慢速随机指标) 的大作中提到: 】
: 编译报错你不贴错误信息,让人猜吗
--
FROM 124.78.15.*