-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.4.0, 1.5.0
-
Component/s: None
-
None
There is a weird build warning breaking our Werror builds on Darwin Secure Transport:
[2016/11/21 14:22:35.626] src/mongoc/mongoc-stream-tls.c:56:1: error: conflicting types for 'mongoc_stream_tls_handshake' [2016/11/21 14:22:35.626] mongoc_stream_tls_handshake (mongoc_stream_t *stream, [2016/11/21 14:22:35.626] ^ [2016/11/21 14:22:35.626] ./src/mongoc/mongoc-stream-tls.h:35:18: note: previous declaration is here [2016/11/21 14:22:35.626] bool mongoc_stream_tls_handshake (mongoc_stream_t *stream, [2016/11/21 14:22:35.626] ^ [2016/11/21 14:22:35.626] src/mongoc/mongoc-stream-tls.c:73:1: error: conflicting types for 'mongoc_stream_tls_handshake_block' [2016/11/21 14:22:35.627] mongoc_stream_tls_handshake_block (mongoc_stream_t *stream, [2016/11/21 14:22:35.627] ^ [2016/11/21 14:22:35.627] ./src/mongoc/mongoc-stream-tls.h:41:18: note: previous declaration is here [2016/11/21 14:22:35.627] bool mongoc_stream_tls_handshake_block (mongoc_stream_t *stream, [2016/11/21 14:22:35.627] ^ [2016/11/21 14:22:35.627] src/mongoc/mongoc-stream-tls.c:138:1: error: conflicting types for 'mongoc_stream_tls_do_handshake' [2016/11/21 14:22:35.627] mongoc_stream_tls_do_handshake (mongoc_stream_t *stream, [2016/11/21 14:22:35.627] ^ [2016/11/21 14:22:35.627] ./src/mongoc/mongoc-stream-tls.h:46:18: note: previous declaration is here [2016/11/21 14:22:35.627] bool mongoc_stream_tls_do_handshake (mongoc_stream_t *stream, [2016/11/21 14:22:35.627] ^ [2016/11/21 14:22:35.627] src/mongoc/mongoc-stream-tls.c:155:1: error: conflicting types for 'mongoc_stream_tls_check_cert' [2016/11/21 14:22:35.627] mongoc_stream_tls_check_cert (mongoc_stream_t *stream, [2016/11/21 14:22:35.627] ^ [2016/11/21 14:22:35.627] ./src/mongoc/mongoc-stream-tls.h:49:18: note: previous declaration is here [2016/11/21 14:22:35.627] bool mongoc_stream_tls_check_cert (mongoc_stream_t *stream, [2016/11/21 14:22:35.627] ^ [2016/11/21 14:22:35.630] 4 errors generated. [2016/11/21 14:22:35.634] make[1]: *** [src/mongoc/libmongoc_1_0_la-mongoc-stream-tls.lo] Error
It looks like one of the Security system headers also have a bool emulation, which conflicts with our.