关于Mysql5.0源码在VS2005编译问题
xjflyttp
|
1#
xjflyttp 发表于 2006-12-01 18:50
关于Mysql5.0源码在VS2005编译问题
[code:1]
------ Build started: Project: mysqld, Configuration: Max nt Win32 ------ Compiling... sql_locale.cpp .\sql_locale.cpp(395) : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss .\sql_locale.cpp(440) : error C2146: syntax error : missing '}' before identifier '嗒忇?喃嵿?嗒苦?' .\sql_locale.cpp(440) : error C2146: syntax error : missing ';' before identifier '嗒忇?喃嵿?嗒苦?' .\sql_locale.cpp(440) : error C2143: syntax error : missing ';' before 'string' .\sql_locale.cpp(440) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\sql_locale.cpp(440) : error C2143: syntax error : missing ';' before '}' .\sql_locale.cpp(440) : error C2059: syntax error : '}' .\sql_locale.cpp(442) : error C2146: syntax error : missing '}' before identifier '嗒?珖嗒' .\sql_locale.cpp(442) : error C2146: syntax error : missing ';' before identifier '嗒?珖嗒' .\sql_locale.cpp(442) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\sql_locale.cpp(442) : error C2059: syntax error : 'string' .\sql_locale.cpp(442) : error C2143: syntax error : missing ';' before '}' .\sql_locale.cpp(442) : error C2059: syntax error : '}' .\sql_locale.cpp(444) : error C2146: syntax error : missing '}' before identifier '嗒多珌嗒曕珝嗒班?嗒距?' .\sql_locale.cpp(444) : error C2146: syntax error : missing ';' before identifier '嗒多珌嗒曕珝嗒班?嗒距?' .\sql_locale.cpp(444) : error C2143: syntax error : missing ';' before 'string' .\sql_locale.cpp(444) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\sql_locale.cpp(444) : error C2001: newline in constant .\sql_locale.cpp(446) : error C2143: syntax error : missing ';' before '{' .\sql_locale.cpp(446) : error C2447: '{' : missing function header (old-style formal list?) .\sql_locale.cpp(454) : error C2065: 'my_locale_ab_day_names_gu_IN' : undeclared identifier .\sql_locale.cpp(454) : error C2070: ''unknown-type'': illegal sizeof operand .\sql_locale.cpp(454) : error C2440: 'initializing' : cannot convert from 'const char [1]' to 'unsigned int' There is no context in which this conversion is possible .\sql_locale.cpp(480) : error C2146: syntax error : missing '}' before identifier '啶呧お啷嵿ぐ啷囙げ' .\sql_locale.cpp(480) : error C2146: syntax error : missing ';' before identifier '啶呧お啷嵿ぐ啷囙げ' .\sql_locale.cpp(480) : error C2143: syntax error : missing ';' before 'string' .\sql_locale.cpp(480) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int .\sql_locale.cpp(480) : error C2001: newline in constant .\sql_locale.cpp(482) : error C2143: syntax error : missing ';' before '{' .\sql_locale.cpp(482) : error C2447: '{' : missing function header (old-style formal list?) .\sql_locale.cpp(482) : error C2001: newline in constant .\sql_locale.cpp(604) : error C2001: newline in constant .\sql_locale.cpp(606) : error C2001: newline in constant .\sql_locale.cpp(624) : error C2001: newline in constant .\sql_locale.cpp(626) : error C2001: newline in constant .\sql_locale.cpp(770) : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss .\sql_locale.cpp(1006) : error C2001: newline in constant .\sql_locale.cpp(1024) : error C2001: newline in constant .\sql_locale.cpp(1026) : error C2001: newline in constant .\sql_locale.cpp(1040) : error C2001: newline in constant .\sql_locale.cpp(1044) : error C2001: newline in constant .\sql_locale.cpp(1135) : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss .\sql_locale.cpp(1140) : error C2001: newline in constant .\sql_locale.cpp(1160) : error C2001: newline in constant .\sql_locale.cpp(1500) : fatal error C1004: unexpected end-of-file found Build log was saved at "file://d:\compiler\mysql-5.0.27\sql\max_nt\BuildLog.htm" mysqld - 42 error(s), 3 warning(s)[/code:1] 不知道是不是因为sql_locale.c保存的字符集是UTF-8的原因``` |