Details
-
Bug
-
Resolution: Fixed
-
Minor - P4
-
None
-
1.3.1
-
None
-
None
Description
I encountered the following build warning while compiling bundled libmongocrypt 1.3.1 with PHPC:
In file included from /phpc/src/libmongocrypt/src/mongocrypt-private.h:24,
|
from /phpc/src/libmongocrypt/src/mongocrypt.c:24:
|
/phpc/src/libmongocrypt/src/mongocrypt.c: In function 'mongocrypt_new':
|
/phpc/src/libmongocrypt/src/mongocrypt-dll-private.h:16:23: warning: missing braces around initializer [-Wmissing-braces]
|
16 | #define MCR_DLL_NULL ((mcr_dll){._native_handle = NULL, .error_string = NULL})
|
| ^
|
/phpc/src/libmongocrypt/src/mongocrypt.c:132:23: note: in expansion of macro 'MCR_DLL_NULL'
|
132 | crypt->csfle_lib = MCR_DLL_NULL;
|
| ^~~~~~~~~~~~
|
This was introduced by bee26c6 for MONGOCRYPT-373.
Attachments
Issue Links
- related to
-
MONGOCRYPT-373 Try to dynamically load csfle from mongocrypt_init in libmongocrypt
-
- Closed
-
-
PHPC-2031 Upgrade libmongoc to 1.21.1 and libmongocrypt to 1.3.2
-
- Closed
-