MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: Trying to build MySql 5.7.13 but getting several hundred warnings and errors
Posted by: David Wennberg
Date: July 01, 2016 03:27PM

and the warnings:
(only a partial list of the 660 warnings that come up

Warning 1 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\yassl\src\cert_wrapper.cpp 302
Warning 2 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\yassl\src\cert_wrapper.cpp 305
Warning 3 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\yassl\src\cert_wrapper.cpp 351
Warning 4 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\yassl\src\cert_wrapper.cpp 354
Warning 5 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\yassl\src\socket_wrapper.cpp 61
Warning 6 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\yassl\src\socket_wrapper.cpp 68
Warning 7 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\yassl\src\ssl.cpp 712
Warning 8 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\yassl\src\ssl.cpp 715
Warning 9 warning C4267: 'return' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\yassl\src\yassl_int.cpp 2016
Warning 10 warning C4244: '=' : conversion from 'ulong' to 'uchar', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\strings\ctype-ucs2.c 798
Warning 11 warning C4244: '=' : conversion from 'ulong' to 'uchar', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\strings\ctype-ucs2.c 813
Warning 12 warning C4244: '=' : conversion from 'ulong' to 'uchar', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\strings\ctype-ucs2.c 832
Warning 13 warning C4244: '=' : conversion from 'ulong' to 'uchar', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\strings\ctype-ucs2.c 846
Warning 14 warning C4244: '=' : conversion from 'ulong' to 'uchar', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\strings\ctype-ucs2.c 857
Warning 15 warning C4244: '=' : conversion from 'ulong' to 'uchar', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\strings\ctype-ucs2.c 863
Warning 16 warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\strings\decimal.c 2519
Warning 17 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\sql\gen_lex_hash.cc 231
Warning 18 warning C4267: 'function' : conversion from 'size_t' to 'DWORD', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\vio\viosocket.c 1137
Warning 19 warning C4267: 'function' : conversion from 'size_t' to 'DWORD', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\vio\viosocket.c 1138
Warning 20 warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\libmysql\authentication_win\handshake_client.cc 163
Warning 21 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\libmysql\authentication_win\common.cc 397
Warning 22 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\libmysql\authentication_win\common.cc 464
Error 23 error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170
Error 24 error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 170
Warning 25 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\sql\gen_lex_token.cc 91
Warning 26 warning C4715: 'google::protobuf::internal::`anonymous namespace'::is_packable' : not all control paths return a value c:\work\mysql_build\mysql-5.7.13\extra\protobuf\protobuf-2.6.0\src\google\protobuf\extension_set.cc 74
Warning 27 warning C4267: 'function' : conversion from 'size_t' to 'uint', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys\sql_chars.c 28
Warning 28 warning C4244: 'function' : conversion from 'uint64' to 'double', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys\base64.c 82
Warning 29 warning C4113: 'PSI_stage_progress *(__cdecl *)()' differs in parameter lists from 'get_current_stage_progress_v1_t' C:\WORK\MySql_Build\mysql-5.7.13\mysys\psi_noop.c 1014
Warning 30 warning C4267: '=' : conversion from 'size_t' to 'sopno', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\regex\regcomp.c 156
Warning 31 warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library C:\WORK\MySql_Build\Build\extra\protobuf\atomicops_internals_x86_gcc.obj
Warning 32 warning C4715: 'google::protobuf::internal::`anonymous namespace'::is_packable' : not all control paths return a value c:\work\mysql_build\mysql-5.7.13\extra\protobuf\protobuf-2.6.0\src\google\protobuf\extension_set.cc 74
Warning 33 warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library C:\WORK\MySql_Build\Build\extra\protobuf\atomicops_internals_x86_gcc.obj
Warning 34 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\load_data_events.cpp 348
Warning 35 warning C4351: new behavior: elements of array 'binary_log::View_change_event::view_id' will be default initialized C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\control_events.cpp 823
Warning 36 warning C4351: new behavior: elements of array 'binary_log::View_change_event::view_id' will be default initialized C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\control_events.cpp 833
Warning 37 warning C4244: 'argument' : conversion from '__int64' to 'const unsigned long', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\statement_events.cpp) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm 4141
Warning 38 warning C4351: new behavior: elements of array 'binary_log::View_change_event::view_id' will be default initialized C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\control_events.cpp 823
Warning 39 warning C4351: new behavior: elements of array 'binary_log::View_change_event::view_id' will be default initialized C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\control_events.cpp 833
Warning 40 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\load_data_events.cpp 348
Warning 41 warning C4244: 'argument' : conversion from '__int64' to 'const unsigned long', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\statement_events.cpp) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm 4141
Warning 42 warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\lz4_decompress.cc 69
Warning 43 warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\extra\zlib_decompress.cc 71
Warning 44 warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 207
Warning 45 warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 284
Warning 46 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 291
Warning 47 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 298
Warning 48 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 300
Warning 49 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 306
Warning 50 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 316
Warning 51 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 326
Warning 52 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 358
Warning 53 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 373
Warning 54 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\crypt_genhash_impl.cc 385
Warning 55 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\mf_tempdir.cc 73
Warning 56 warning C4244: 'return' : conversion from '__int64' to 'uint', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\my_getopt.cc 1402
Warning 57 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\my_getopt.cc 1523
Warning 58 warning C4267: '+=' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\my_default.cc 724
Warning 59 warning C4267: 'argument' : conversion from 'size_t' to 'TaoCrypt::word32', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\my_sha2.cc 58
Warning 60 warning C4267: 'argument' : conversion from 'size_t' to 'TaoCrypt::word32', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\my_sha2.cc 59
Warning 61 warning C4267: 'argument' : conversion from 'size_t' to 'TaoCrypt::word32', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\my_sha2.cc 63
Warning 62 warning C4267: 'argument' : conversion from 'size_t' to 'TaoCrypt::word32', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\my_sha2.cc 64
Warning 63 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\mysys_ssl\my_rnd.cc 72
Warning 64 warning C4090: 'initializing' : different 'const' qualifiers C:\WORK\MySql_Build\mysql-5.7.13\extra\comp_err.c 136
Warning 65 warning C4090: 'initializing' : different 'const' qualifiers C:\WORK\MySql_Build\mysql-5.7.13\extra\my_print_defaults.c 102
Warning 66 warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\client\logger.cc 48
Warning 67 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\storage\archive\azio.c 846
Warning 68 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\storage\archive\azio.c 877
Warning 69 warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\sql-common\client.c 4469
Warning 70 warning C4267: '+=' : conversion from 'size_t' to 'unsigned long', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\sql\net_serv.cc 900
Warning 71 warning C4267: '=' : conversion from 'size_t' to 'unsigned long', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\sql\net_serv.cc 998
Warning 72 warning C4267: '=' : conversion from 'size_t' to 'unsigned long', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\sql\net_serv.cc 1019
Warning 73 warning C4244: 'argument' : conversion from '__int64' to 'const unsigned long', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\statement_events.cpp) C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm 4141
Warning 74 warning C4351: new behavior: elements of array 'binary_log::View_change_event::view_id' will be default initialized C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\control_events.cpp 823
Warning 75 warning C4351: new behavior: elements of array 'binary_log::View_change_event::view_id' will be default initialized C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\control_events.cpp 833
Warning 76 warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\libbinlogevents\src\load_data_events.cpp 348
Warning 77 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_thread.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 948
Warning 78 warning C4244: 'initializing' : conversion from '__int64' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_thread.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 960
Warning 79 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_thread.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 973
Warning 80 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_host.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 948
Warning 81 warning C4244: 'return' : conversion from '__int64' to 'unsigned int', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\storage\archive\ha_archive.cc 405
Warning 82 warning C4244: 'initializing' : conversion from '__int64' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_host.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 960
Warning 83 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_host.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 973
Warning 84 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_user.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 948
Warning 85 warning C4244: 'initializing' : conversion from '__int64' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_user.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 960
Warning 86 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_user.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 973
Warning 87 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_account.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 948
Warning 88 warning C4267: 'argument' : conversion from 'size_t' to 'uint32', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\storage\archive\ha_archive.cc 1338
Warning 89 warning C4244: 'initializing' : conversion from '__int64' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_account.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 960
Warning 90 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data (C:\WORK\MySql_Build\mysql-5.7.13\storage\perfschema\cursor_by_account.cc) c:\work\mysql_build\mysql-5.7.13\storage\perfschema\pfs_buffer_container.h 973
Warning 91 warning C4267: '=' : conversion from 'size_t' to 'uint', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\storage\partition\ha_partition.cc 1748
Warning 92 warning C4244: 'argument' : conversion from '__int64' to 'uint', possible loss of data C:\WORK\MySql_Build\mysql-5.7.13\storage\partition\ha_partition.cc 3992

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Trying to build MySql 5.7.13 but getting several hundred warnings and errors
1675
July 01, 2016 03:27PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.