1>------ Build started: Project: mongoc_static, Configuration: Debug x64 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.61030 for x64 1> Copyright (C) Microsoft Corporation. All rights reserved. 1> 1> cl /c /I"C:\MyTempDir\mongo-c-driver\src\zlib-1.2.11" /I"C:\MyTempDir\mongo-c-driver\cmake-VS2012-x64\src\zlib-1.2.11" /I"C:\MyTempDir\mongo-c-driver\cmake-VS2012-x64\src\libmongoc\src" /I"C:\MyTempDir\mongo-c-driver\cmake-VS2012-x64\src\libmongoc\src\mongoc" /I"C:\MyTempDir\mongo-c-driver\src\libmongoc\src" /I"C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc" /I"C:\MyTempDir\mongo-c-driver\src\libmongoc\..\..\src\common" /I"C:\MyTempDir\mongo-c-driver\cmake-VS2012-x64\src\libmongoc\..\..\src" /I"C:\MyTempDir\mongo-c-driver\cmake-VS2012-x64\src\libmongoc\..\..\src\common" /I"C:\MyTempDir\mongo-c-driver\cmake-VS2012-x64\src\libbson\src" /I"C:\MyTempDir\mongo-c-driver\cmake-VS2012-x64\src\libbson\src\bson" /I"C:\MyTempDir\mongo-c-driver\src\libbson\src" /I"C:\MyTempDir\mongo-c-driver\src\libbson\src\bson" /I"C:\MyTempDir\mongo-c-driver\src\libbson\..\..\src\common" /I"C:\MyTempDir\mongo-c-driver\cmake-VS2012-x64\src\libbson\..\..\src" /I"C:\MyTempDir\mongo-c-driver\cmake-VS2012-x64\src\libbson\..\..\src\common" /Zi /W3 /WX- /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_WARNINGS /D MONGOC_STATIC /D BSON_STATIC /D MONGOC_COMPILATION /D COMMON_PREFIX_=_mongoc_common /D _DEFAULT_SOURCE /D HAVE_STDARG_H /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"mongoc_static.dir\Debug\\" /Fd"mongoc_static.dir\Debug\vc110.pdb" /Gd /TC /errorReport:prompt /we4013 /we4431 /we4716 /we4113 /we4047 /we4090 /we4700 "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-aggregate.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-bulk-operation.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-change-stream.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-client.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-client-pool.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-client-side-encryption.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cluster.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cluster-aws.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cluster-sasl.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-collection.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cursor-array.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cursor.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cursor-cmd.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cursor-change-stream.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cursor-cmd-deprecated.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cursor-find.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cursor-find-cmd.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cursor-find-opquery.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cursor-legacy.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-database.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-error.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-bucket.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-file.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-file-list.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-handshake.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-http.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cmd.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-opts.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-read-prefs.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-rpc.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-description.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-stream.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-client-session.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-timeout.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology-background-monitoring.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology-description.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology-scanner.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-uri.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-write-command.c" "C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-write-command-legacy.c" 1> 1> mongoc-aggregate.c 1> mongoc-bulk-operation.c 1> mongoc-change-stream.c 1> mongoc-client.c 1> mongoc-client-pool.c 1> mongoc-client-side-encryption.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-client-side-encryption.c(285): warning C4018: '<' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-client-side-encryption.c(340): warning C4018: '<' : signed/unsigned mismatch 1> mongoc-cluster.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cluster.c(162): warning C4267: '+=' : conversion from 'size_t' to 'int', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cluster.c(172): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cluster.c(3148): warning C4018: '>' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cluster.c(3233): warning C4267: '=' : conversion from 'size_t' to 'off_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-cluster.c(3410): warning C4267: '=' : conversion from 'size_t' to 'int32_t', possible loss of data 1> mongoc-cluster-aws.c 1> mongoc-cluster-sasl.c 1> mongoc-collection.c 1> mongoc-cursor-array.c 1> mongoc-cursor.c 1> mongoc-cursor-cmd.c 1> mongoc-cursor-change-stream.c 1> mongoc-cursor-cmd-deprecated.c 1> mongoc-cursor-find.c 1> mongoc-cursor-find-cmd.c 1> mongoc-cursor-find-opquery.c 1> mongoc-cursor-legacy.c 1> mongoc-database.c 1> Generating Code... 1> Compiling... 1> mongoc-error.c 1> mongoc-gridfs.c 1> mongoc-gridfs-bucket.c 1> mongoc-gridfs-file.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-file.c(449): warning C4018: '>=' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-file.c(516): warning C4018: '>' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-file.c(586): warning C4018: '>=' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-file.c(603): warning C4244: 'function' : conversion from 'uint64_t' to 'uint32_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-file.c(837): warning C4018: '<=' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-file.c(883): warning C4018: '>' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-gridfs-file.c(982): warning C4244: '=' : conversion from 'uint64_t' to 'int32_t', possible loss of data 1> mongoc-gridfs-file-list.c 1> mongoc-handshake.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-handshake.c(202): warning C4018: '<' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-handshake.c(505): warning C4018: '<' : signed/unsigned mismatch 1> mongoc-http.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-http.c(194): warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-http.c(197): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data 1> mongoc-cmd.c 1> mongoc-opts.c 1> mongoc-read-prefs.c 1> mongoc-rpc.c 1>c:\mytempdir\mongo-c-driver\src\libmongoc\src\mongoc\op-msg.def(9): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-rpc.c(850): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-rpc.c(884): warning C4267: '=' : conversion from 'size_t' to 'int32_t', possible loss of data 1> mongoc-server-description.c 1> mongoc-server-stream.c 1> mongoc-client-session.c 1> mongoc-server-monitor.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(230): warning C4244: '=' : conversion from 'int64_t' to 'int32_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(244): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(250): warning C4244: 'function' : conversion from 'int64_t' to 'int32_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(258): warning C4244: 'function' : conversion from 'int64_t' to 'int32_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(269): warning C4244: 'function' : conversion from 'int64_t' to 'int32_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(339): warning C4244: '=' : conversion from 'int64_t' to 'int32_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(351): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(361): warning C4244: 'function' : conversion from 'int64_t' to 'int32_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(539): warning C4244: 'function' : conversion from 'int64_t' to 'int32_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-server-monitor.c(605): warning C4244: 'function' : conversion from 'uint64_t' to 'int32_t', possible loss of data 1> mongoc-shared.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(48): warning C4028: formal parameter 1 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(48): warning C4028: formal parameter 3 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(70): warning C4028: formal parameter 1 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(70): warning C4028: formal parameter 2 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(81): error C2059: syntax error : '{' 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(89): warning C4028: formal parameter 1 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(89): warning C4028: formal parameter 2 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(90): error C2059: syntax error : '{' 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(107): error C2061: syntax error : identifier 'mongoc_atomic_shared_ptr_load' 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(107): error C2059: syntax error : ';' 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(107): error C2059: syntax error : 'type' 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(119): warning C4028: formal parameter 1 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(130): warning C4028: formal parameter 1 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-shared.c(151): warning C4028: formal parameter 1 different from declaration 1> mongoc-timeout.c 1>c:\mytempdir\mongo-c-driver\src\libbson\src\bson\bson-prelude.h(18): fatal error C1004: unexpected end-of-file found 1> mongoc-topology.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology.c(248): warning C4244: '=' : conversion from 'const int64_t' to 'int', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology.c(272): warning C4028: formal parameter 2 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology.c(272): warning C4028: formal parameter 3 different from declaration 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology.c(374): warning C4244: 'function' : conversion from 'int64_t' to 'int32_t', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology.c(2008): error C2059: syntax error : '{' 1> mongoc-topology-background-monitoring.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology-background-monitoring.c(207): warning C4018: '<' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology-background-monitoring.c(319): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology-background-monitoring.c(320): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data 1> mongoc-topology-description.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology-description.c(906): warning C4018: '<=' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology-description.c(2497): warning C4267: 'function' : conversion from 'size_t' to 'int32_t', possible loss of data 1> Generating Code... 1> Compiling... 1> mongoc-topology-scanner.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-topology-scanner.c(286): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data 1> mongoc-uri.c 1> mongoc-write-command.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-write-command.c(423): warning C4018: '>' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-write-command.c(426): warning C4018: '>=' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-write-command.c(543): warning C4018: '<=' : signed/unsigned mismatch 1> mongoc-write-command-legacy.c 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-write-command-legacy.c(180): warning C4018: '>' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-write-command-legacy.c(299): warning C4018: '>' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-write-command-legacy.c(441): warning C4018: '>' : signed/unsigned mismatch 1>C:\MyTempDir\mongo-c-driver\src\libmongoc\src\mongoc\mongoc-write-command-legacy.c(458): warning C4018: '>' : signed/unsigned mismatch 1> Generating Code... ========== Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped ==========