Description:
I am using the following build system:
cmake version 2.8.10.2
bison (GNU Bison) 2.4.1
Microsoft (R) Visual Studio Version 9.0.30729.1
OS Version 6.1.7601 Service Pack 1 Build 7601
When I start the build then I get enormous amount of "possible loss of data" warnings. Is it related to CMAKE or improper INCLUDE paths ?
Below is just a small portion:
50>.\handler\ha_innodb.cc(8763) : warning C4244: 'argument' : conversion from 'ulint' to 'unsigned int', possible loss of data
50>.\handler\ha_innodb.cc(8768) : warning C4244: 'argument' : conversion from 'ulint' to 'unsigned int', possible loss of data
50>.\handler\ha_innodb.cc(8777) : warning C4244: 'argument' : conversion from 'ulint' to 'unsigned int', possible loss of data
50>.\handler\ha_innodb.cc(8782) : warning C4244: 'argument' : conversion from 'ulint' to 'unsigned int', possible loss of data
50>.\handler\ha_innodb.cc(8811) : warning C4244: 'argument' : conversion from 'ulint' to 'unsigned int', possible loss of data
50>.\handler\ha_innodb.cc(8829) : warning C4244: 'argument' : conversion from 'ulint' to 'unsigned int', possible loss of data
45>h:\work\mysql\mysql-5.5.30\sql\sql_error.h(514) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data
46>myrg_open.c
50>.\handler\ha_innodb.cc(9561) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
50>.\handler\ha_innodb.cc(9572) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
50>.\handler\ha_innodb.cc(9641) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
50>.\handler\ha_innodb.cc(9643) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
50>.\handler\ha_innodb.cc(9682) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data
How to repeat:
cmake . -DSIGNCODE=0 -DBUILD_CONFIG=mysql_release -G "Visual Studio 9 2008 Win64"
devenv.exe MySQL.sln /build Debug > debug_output.log