-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
When vendoring kms_message into libmongoc, the following warning was observed on MinGW compile:
[2020/02/19 16:38:00.709] CMakeFiles\mongoc_shared.dir/objects.a(kms_request.c.obj): In function `strndup': [2020/02/19 16:38:00.709] C:/data/mci/4022d9d09543ecc5ea3d07d16c605eb6/mongoc/build-dir/src/kms-message/src/kms_port.h:26: multiple definition of `strndup' [2020/02/19 16:38:00.709] CMakeFiles\mongoc_shared.dir/objects.a(kms_kv_list.c.obj):C:/data/mci/4022d9d09543ecc5ea3d07d16c605eb6/mongoc/build-dir/src/kms-message/src/kms_port.h:26: first defined here