QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1448|回复: 1

关于Mysql5.0源码在VS2005编译问题

[复制链接]
发表于 2006-12-1 18:50:58 | 显示全部楼层 |阅读模式
[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的原因```
 楼主| 发表于 2006-12-4 18:07:27 | 显示全部楼层
up下 `````````````
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-4-20 18:30 , Processed in 0.063323 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表