|
|
Home » Developing U++ » U++ Developers corner » Multi-byte character Compile Error
Multi-byte character Compile Error [message #24034] |
Sun, 20 December 2009 13:22 |
gxl117
Messages: 71 Registered: March 2009 Location: China
|
Member |
|
|
If .cpp file contains the multi-byte character compile error will occur.For example to compile controls4u_demo occur:
Controls4U.cpp
C:\upp\bazaar\Controls4U\Controls4U.cpp : warning C4819: The file contains a character that cannot be represe
nted in the current code page (936). Save the file in Unicode format to prevent data loss
C:\upp\bazaar\Controls4U\Controls4U.cpp(406) : error C2001: newline in constant
C:\upp\bazaar\Controls4U\Controls4U.cpp(407) : error C2143: syntax error : missing ')' before 'return'
My code:
GUI_APP_MAIN
{
jishuwin a;
a.Title("G´úÂëת»»Æ÷").Zoomable().Sizeable().Run();
}
compile error:
F:\MyApps\jishu\main.cpp : warning C4819: The file contains a character that cannot be represented in the cur
rent code page (936). Save the file in Unicode format to prevent data loss
F:\MyApps\jishu\main.cpp(39) : error C2001: newline in constant
F:\MyApps\jishu\main.cpp(41) : error C2143: syntax error : missing ')' before '}'
F:\MyApps\jishu\main.cpp(41) : error C2143: syntax error : missing ';' before '}'
|
|
|
|
Goto Forum:
Current Time: Wed Apr 24 20:09:13 CEST 2024
Total time taken to generate the page: 0.01812 seconds
|
|
|