Opened 6 years ago
Closed 6 years ago
#12786 closed Bugs (fixed)
UINT8_C susceptible to redefinition in cstdint.h
| Reported by: | Owned by: | John Maddock | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | config |
| Version: | Boost 1.63.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
For Boost version 1.63.0, in boost/cstdint.hpp, on line 448, UINT8_C is defined without first supplying an #ifndef conditional.
This leads to macro redefinition errors from the preprocessor, in my case on Visual Studio 2012, after stdint.h is also included.
Change History (3)
comment:1 by , 6 years ago
| Component: | None → integer |
|---|---|
| Owner: | set to |
comment:2 by , 6 years ago
| Component: | integer → config |
|---|---|
| Owner: | changed from to |
comment:3 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed in develop, thanks for the report.
Note:
See TracTickets
for help on using tickets.

Sorry, I didn't realize that standard integer types was removed from integer and placed into boost.config.