Files causing cast warnings on MSC 64-bit: dbus-auth-script.c dbus-connection.c dbus-internals.c dbus-marshal-basic.c dbus-memory.c dbus-mempool.c dbus-message.c dbus-monitor.c dbus-nonce.c dbus-object-tree.c dbus-sha.c dbus-spawn-win.c dbus-string-util.c dbus-string.c dbus-sysdeps-util-win.c dbus-sysdeps-win.c signals.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus-build64>nmake Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. Scanning dependencies of target dbus-1 ... cut ... [ 2%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-connection.obj dbus-connection.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-connection.c(5642) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-connection.c(5818) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-connection.c(5853) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-connection.c(5889) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 7%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-message.obj dbus-message.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-message.c(3177) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 8%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-nonce.obj dbus-nonce.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-nonce.c(56) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data [ 8%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-object-tree.obj dbus-object-tree.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1111) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1631) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1635) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1642) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1876) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1884) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1892) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1900) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 12%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-sha.obj dbus-sha.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sha.c(553) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 19%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-internals.obj dbus-internals.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-internals.c(408) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 21%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-marshal-basic.obj dbus-marshal-basic.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-marshal-basic.c(760) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-marshal-basic.c(772) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data [ 21%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-memory.obj dbus-memory.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-memory.c(376) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-memory.c(413) : warning C4267: '=' : conversion from 'size_t' to 'dbus_uint32_t', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-memory.c(424) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data [ 22%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-mempool.obj dbus-mempool.c [ 22%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-string.obj dbus-string.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-string.c(196) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-string.c(926) : warning C4267: '=' : conversion from 'size_t' to 'unsigned long', possible loss of data ... cut ... [ 25%] Building C object dbus/CMakeFiles/dbus-1.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-sysdeps-win.obj dbus-sysdeps-win.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sysdeps-win.c(1563) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sysdeps-win.c(1714) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sysdeps-win.c(2949) : warning C4267: 'function' : conversion from 'size_t' to 'DWORD', possible loss of data ... cut ... [ 29%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-connection.obj dbus-connection.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-connection.c(5642) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-connection.c(5818) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-connection.c(5853) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-connection.c(5889) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 34%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-message.obj dbus-message.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-message.c(3177) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 35%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-nonce.obj dbus-nonce.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-nonce.c(56) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data [ 35%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-object-tree.obj dbus-object-tree.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1111) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1631) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1635) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1642) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1876) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1884) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1892) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-object-tree.c(1900) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 39%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-sha.obj dbus-sha.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sha.c(553) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 46%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-internals.obj dbus-internals.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-internals.c(408) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 48%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-marshal-basic.obj dbus-marshal-basic.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-marshal-basic.c(760) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-marshal-basic.c(772) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data [ 48%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-memory.obj dbus-memory.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-memory.c(376) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-memory.c(413) : warning C4267: '=' : conversion from 'size_t' to 'dbus_uint32_t', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-memory.c(424) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data ... cut ... [ 49%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-string.obj dbus-string.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-string.c(196) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-string.c(926) : warning C4267: '=' : conversion from 'size_t' to 'unsigned long', possible loss of data ... cut ... [ 52%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-sysdeps-win.obj dbus-sysdeps-win.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sysdeps-win.c(1563) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sysdeps-win.c(1714) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sysdeps-win.c(2949) : warning C4267: 'function' : conversion from 'size_t' to 'DWORD', possible loss of data ... cut ... [ 55%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-auth-script.obj dbus-auth-script.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-auth-script.c(530) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-auth-script.c(563) : warning C4267: 'function' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 62%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-string-util.obj dbus-string-util.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-string-util.c(57) : warning C4267: '=' : conversion from 'size_t' to 'unsigned long', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-string-util.c(132) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 63%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-spawn-win.obj dbus-spawn-win.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-spawn-win.c(510) : warning C4267: '+=' : conversion from 'size_t' to 'int', possible loss of data [ 64%] Building C object dbus/CMakeFiles/dbus-internal.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/dbus/dbus-sysdeps-util-win.obj dbus-sysdeps-util-win.c F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sysdeps-util-win.c(120) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sysdeps-util-win.c(533) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\dbus\dbus-sysdeps-util-win.c(581) : warning C4267: '=' : conversion from 'size_t' to 'unsigned short', possible loss of data Linking CXX static library ..\bin\dbus-internal.lib ... cut ... [ 83%] Building C object bus/CMakeFiles/test-bus.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/bus/signals.obj signals.c F:\work\git\dbus-win-20150419-1.8.16\dbus\bus\signals.c(1833) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data F:\work\git\dbus-win-20150419-1.8.16\dbus\bus\signals.c(1884) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data ... cut ... [ 98%] Building C object tools/CMakeFiles/dbus-monitor.dir/F_/work/git/dbus-win-20150419-1.8.16/dbus/tools/dbus-monitor.obj dbus-monitor.c F:\work\git\dbus-win-20150419-1.8.16\dbus\tools\dbus-monitor.c(311) : warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data