Opened 8 years ago
Closed 8 years ago
#10404 closed Feature Requests (fixed)
Use detect_mismatch to prevent ODR violations
Reported by: | Antony Polukhin | Owned by: | Antony Polukhin |
---|---|---|---|
Milestone: | Boost 1.57.0 | Component: | type_index |
Version: | Boost 1.56.0 | Severity: | Problem |
Keywords: | Cc: |
Description
As was noted during library review: users will mix compilation flags and get segmentation faults.
One of the solutions for that case is to use #pragma detect_mismatch.
Note:
See TracTickets
for help on using tickets.
This was fixed by this commit.