[CXX-49] Fix strict aliasing warnings so that headers are useable for all consumers Created: 18/Feb/14 Updated: 23/Oct/14 Resolved: 03/Oct/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation, Portability |
| Affects Version/s: | None |
| Fix Version/s: | legacy-1.0.0-rc1 |
| Type: | Improvement | Priority: | Critical - P2 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
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. |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 01/Oct/14 ] |