-
Type: Improvement
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: Implementation, Portability
The BSON library in the driver currently assumes that it is being compiled with -fno-strict-aliasing. However several of the aliasing violations are in headers, which means that they inflict the same penalty on consumers of the library. We should fix the strict aliasing warnings so that clients can consume the library without needing special flags.
- is duplicated by
-
CXX-106 MsgData's cast from char[4] to int* leads to type alias warnings in C++ clients with strict aliasing warnings as errors.
- Closed