64 bit: *** At line 58 of the build log, in cmake: CMake Warning (dev) at extra/CMakeLists.txt:22 (ADD_EXECUTABLE): Policy CMP0003 should be set before this line. Add code such as if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) endif(COMMAND cmake_policy) as early as possible but after the most recent call to cmake_minimum_required or cmake_policy(VERSION). This warning appears because target "comp_err" links to some libraries for which the linker must search: wsock32 and other libraries with known full path: G:/pb2/build/sb_0-560532-1243931341.05/mysql-5.0.83-win-x86_64/dbug/Debug/dbug.lib G:/pb2/build/sb_0-560532-1243931341.05/mysql-5.0.83-win-x86_64/mysys/Debug/mysys.lib G:/pb2/build/sb_0-560532-1243931341.05/mysql-5.0.83-win-x86_64/strings/Debug/strings.lib G:/pb2/build/sb_0-560532-1243931341.05/mysql-5.0.83-win-x86_64/zlib/Debug/zlib.lib CMake is adding directories in the second list to the linker search path in case they are needed to find libraries from the first list (for backwards compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to enable or disable this behavior explicitly. Run "cmake --help-policy CMP0003" for more information. This warning is for project developers. Use -Wno-dev to suppress it. *** At line 423 of the build log, in innobase::/usr/share/bison.simple(339): 6>/usr/share/bison.simple(339) : warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data *** At line 425 of the build log, in mysqlclient_notls::G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24): 9>G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24) : warning C4005: '_WIN32_WINNT' : macro redefinition *** At line 836 of the build log, in mysqldump::.\mysqldump.c(3125): 23>.\mysqldump.c(3125) : warning C4244: 'function' : conversion from '__int64' to 'uint', possible loss of data *** At line 837 of the build log, in mysqldump::.\mysqldump.c(3146): 23>.\mysqldump.c(3146) : warning C4244: 'function' : conversion from '__int64' to 'uint', possible loss of data *** At line 913 of the build log, in mysql_upgrade::.\mysql_upgrade.c(390): 33>.\mysql_upgrade.c(390) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data *** At line 959 of the build log, in mysqld::.\sql_yacc.cc(14412): 37>.\sql_yacc.cc(14412) : warning C4065: switch statement contains 'default' but no 'case' labels *** At line 960 of the build log, in mysqld::.\sql_yacc.cc(14569): 37>.\sql_yacc.cc(14569) : warning C4267: 'initializing' : conversion from 'size_t' to 'ulong', possible loss of data *** At line 961 of the build log, in mysqld::sql_yacc.yy(2236): 37>sql_yacc.yy(2236) : warning C4244: '=' : conversion from '__int64' to 'uint', possible loss of data *** At line 962 of the build log, in mysqld::sql_yacc.yy(2238): 37>sql_yacc.yy(2238) : warning C4244: '=' : conversion from '__int64' to 'uint', possible loss of data *** At line 963 of the build log, in mysqld::sql_yacc.yy(9026): 37>sql_yacc.yy(9026) : warning C4244: 'argument' : conversion from '__int64' to 'uint', possible loss of data *** At line 964 of the build log, in mysqld::sql_yacc.yy(9026): 37>sql_yacc.yy(9026) : warning C4244: 'argument' : conversion from '__int64' to 'uint', possible loss of data *** At line 965 of the build log, in mysqld::sql_yacc.yy(9740): 37>sql_yacc.yy(9740) : warning C4244: '=' : conversion from '__int64' to 'uint', possible loss of data *** At line 966 of the build log, in mysqld::sql_yacc.yy(9742): 37>sql_yacc.yy(9742) : warning C4244: '=' : conversion from '__int64' to 'uint', possible loss of data *** At line 968 of the build log, in mysqld::sql_yacc.yy(11062): 37>sql_yacc.yy(11062) : warning C4244: '=' : conversion from '__int64' to 'uint', possible loss of data *** At line 969 of the build log, in mysqld::sql_yacc.yy(11071): 37>sql_yacc.yy(11071) : warning C4244: '=' : conversion from '__int64' to 'uint', possible loss of data *** At line 970 of the build log, in mysqld::sql_yacc.yy(11116): 37>sql_yacc.yy(11116) : warning C4244: '=' : conversion from '__int64' to 'uint', possible loss of data *** At line 975 of the build log, in mysqlmanager::G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24): 39>G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24) : warning C4005: '_WIN32_WINNT' : macro redefinition *** At line 977 of the build log, in mysqld::.\sql_profile.cc(123): 37>.\sql_profile.cc(123) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data *** At line 981 of the build log, in mysqlmanager::G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24): 39>G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24) : warning C4005: '_WIN32_WINNT' : macro redefinition *** At line 1039 of the build log, in mysqld::.\sql_show.cc(299): 37>.\sql_show.cc(299) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data *** At line 1040 of the build log, in mysqld::.\sql_show.cc(3741): 37>.\sql_show.cc(3741) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data *** At line 1072 of the build log, in libmysql::G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24): 40>G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24) : warning C4005: '_WIN32_WINNT' : macro redefinition *** At line 1146 of the build log, in mysqld::.\sql_parse.cc(8234): 37>.\sql_parse.cc(8234) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data *** At line 1249 of the build log, in mysqld::.\sql_acl.cc(5990): 37>.\sql_acl.cc(5990) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data *** At line 1250 of the build log, in mysqld::.\sql_acl.cc(5992): 37>.\sql_acl.cc(5992) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data *** At line 1251 of the build log, in mysqld::.\sql_acl.cc(5994): 37>.\sql_acl.cc(5994) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data *** At line 1252 of the build log, in mysqld::.\sql_acl.cc(5998): 37>.\sql_acl.cc(5998) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data *** At line 1285 of the build log, in mysqld::.\sp.cc(436): 37>.\sp.cc(436) : warning C4267: 'argument' : conversion from 'size_t' to 'ulong', possible loss of data *** At line 1286 of the build log, in mysqld::.\sp.cc(436): 37>.\sp.cc(436) : warning C4267: 'argument' : conversion from 'size_t' to 'ulong', possible loss of data *** At line 1287 of the build log, in mysqld::.\sp.cc(436): 37>.\sp.cc(436) : warning C4267: 'argument' : conversion from 'size_t' to 'ulong', possible loss of data *** At line 1295 of the build log, in mysqld::.\set_var.cc(3516): 37>.\set_var.cc(3516) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data *** At line 1326 of the build log, in mysqlclient::G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24): 41>G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24) : warning C4005: '_WIN32_WINNT' : macro redefinition *** At line 1333 of the build log, in mysqld::.\opt_range.cc(795): 37>.\opt_range.cc(795) : warning C4244: 'initializing' : conversion from '__int64' to 'uint', possible loss of data *** At line 1370 of the build log, in mysqld::G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24): 37>G:\pb2\build\sb_0-560532-1243931341.05\mysql-5.0.83-win-x86_64\include\config-win.h(24) : warning C4005: '_WIN32_WINNT' : macro redefinition *** At line 1378 of the build log, in mysqld::.\mysqld.cc(3039): 37>.\mysqld.cc(3039) : warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data *** At line 1379 of the build log, in mysqld::.\mysqld.cc(7843): 37>.\mysqld.cc(7843) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data *** At line 1404 of the build log, in mysqld::.\log.cc(1268): 37>.\log.cc(1268) : warning C4267: 'argument' : conversion from 'size_t' to 'uint', possible loss of data *** At line 1531 of the build log, in mysql_client_test::.\mysql_client_test.c(16230): 42>.\mysql_client_test.c(16230) : warning C4267: 'function' : conversion from 'size_t' to 'unsigned long', possible loss of data *** At line 1532 of the build log, in mysql_client_test::.\mysql_client_test.c(16237): 42>.\mysql_client_test.c(16237) : warning C4267: 'function' : conversion from 'size_t' to 'unsigned long', possible loss of data