Opened 6 years ago
Closed 6 years ago
#12226 closed Bugs (fixed)
Microsoft compiler bug with boost::spirit::traits::absolute_value
| Reported by: | Owned by: | Joel de Guzman | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | spirit |
| Version: | Boost 1.61.0 | Severity: | Problem |
| Keywords: | compiler | Cc: |
Description
Microsoft optimizing compiler (19.00.23918 for x86 from Visual studio 2015) removes code of boost::spirit::traits::absolute_value::call for int, long and boost::long_long_type, and absolute_value<int>::call((int)-1) returns 4294967295 instead of 1.
Attachments (2)
Change History (4)
by , 6 years ago
| Attachment: | BoostTest.zip added |
|---|
comment:2 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Example of code, build configuration: Release x86