Comment 13 for bug 345524

Revision history for this message
Oleksandr "Sanja" Byelkin (sanja-byelkin) wrote :

Hi!
Here is what comopiler found:
------ Build started: Project: pbxt, Configuration: Debug x64 ------
Compiling...
ha_pbxt.cc
.\src\ha_pbxt.cc(1079) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data
.\src\ha_pbxt.cc(3857) : warning C4267: '=' : conversion from 'size_t' to 'ulong', possible loss of data
.\src\ha_pbxt.cc(5550) : warning C4267: 'argument' : conversion from 'size_t' to 'uint32', possible loss of data
.\src\ha_pbxt.cc(5827) : error C2121: '#' : invalid character : possibly the result of a macro expansion
.\src\ha_pbxt.cc(5827) : error C2065: 'ifdef' : undeclared identifier
.\src\ha_pbxt.cc(5827) : error C2143: syntax error : missing '}' before 'constant'
.\src\ha_pbxt.cc(5827) : error C3852: '<unnamed-type-mysql_sysvar_support_xa>::def_val' having type 'const char': aggregate initialization could not initialize this member
        const members cannot be default initialized unless their type has a user defined default constructor
.\src\ha_pbxt.cc(5827) : error C2512: '<unnamed-type-mysql_sysvar_support_xa>::<unnamed-type-mysql_sysvar_support_xa>' : no appropriate default constructor available
.\src\ha_pbxt.cc(5827) : error C2078: too many initializers
.\src\ha_pbxt.cc(5827) : error C2143: syntax error : missing ';' before 'constant'
.\src\ha_pbxt.cc(5827) : error C2059: syntax error : 'constant'
.\src\ha_pbxt.cc(5827) : error C2143: syntax error : missing ';' before '}'
.\src\ha_pbxt.cc(5827) : error C2059: syntax error : '}'
.\src\ha_pbxt.cc(5853) : fatal error C1020: unexpected #endif
Build log was saved at "file://e:\maria\bzr\maria-pbxtrc3-test\storage\pbxt\pbxt.dir\Debug\BuildLog.htm"
pbxt - 11 error(s), 3 warning(s)
------ Build started: Project: mysqlserver, Configuration: Debug x64 ------
Compiling...
ha_innodb.cc
..\storage\xtradb\handler\ha_innodb.cc(64) : warning C4005: 'MYSQL_SERVER' : macro redefinition
        command-line arguments : see previous definition of 'MYSQL_SERVER'
..\storage\xtradb\handler\ha_innodb.cc(4178) : warning C4244: 'argument' : conversion from 'ulint' to 'uint', possible loss of data
..\storage\xtradb\handler\ha_innodb.cc(4179) : warning C4244: 'argument' : conversion from 'ulint' to 'uint', possible loss of data
..\storage\xtradb\handler\ha_innodb.cc(4912) : warning C4244: '=' : conversion from 'ulint' to 'int', possible loss of data
..\storage\xtradb\handler\ha_innodb.cc(6854) : warning C4244: '=' : conversion from 'ulint' to 'int', possible loss of data
..\storage\xtradb\handler\ha_innodb.cc(8444) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
..\storage\xtradb\handler\ha_innodb.cc(8446) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
..\storage\xtradb\handler\ha_innodb.cc(10134) : error C2440: 'initializing' : cannot convert from 'ulint *' to 'unsigned long *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
ha_pbxt.cc
..\storage\pbxt\src\ha_pbxt.cc(1079) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data
..\storage\pbxt\src\ha_pbxt.cc(3857) : warning C4267: '=' : conversion from 'size_t' to 'ulong', possible loss of data
..\storage\pbxt\src\ha_pbxt.cc(5550) : warning C4267: 'argument' : conversion from 'size_t' to 'uint32', possible loss of data
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C2121: '#' : invalid character : possibly the result of a macro expansion
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C2065: 'ifdef' : undeclared identifier
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C2143: syntax error : missing '}' before 'constant'
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C3852: '<unnamed-type-mysql_sysvar_support_xa>::def_val' having type 'const char': aggregate initialization could not initialize this member
        const members cannot be default initialized unless their type has a user defined default constructor
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C2512: '<unnamed-type-mysql_sysvar_support_xa>::<unnamed-type-mysql_sysvar_support_xa>' : no appropriate default constructor available
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C2078: too many initializers
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C2143: syntax error : missing ';' before 'constant'
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C2059: syntax error : 'constant'
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C2143: syntax error : missing ';' before '}'
..\storage\pbxt\src\ha_pbxt.cc(5827) : error C2059: syntax error : '}'
..\storage\pbxt\src\ha_pbxt.cc(5853) : fatal error C1020: unexpected #endif
Generating Code...