-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
The BSON_PTHREAD_ONCE_INIT_NEEDS_BRACES checks seems broken:
./src/bson/bson-config.h:49:0: warning: "BSON_PTHREAD_ONCE_INIT_NEEDS_BRACES" redefined [enabled by default]
When its supposed to be used, it is passed as a compiler option -DBSON_PTHREAD_ONCE_INIT_NEEDS_BRACES and incorrectly (unconditionally) set to 0 in our bson-config.h[.in] (hence the warning), which results in it being undef'd in bson-config.h.