Opened 6 years ago

Closed 6 years ago

#12786 closed Bugs (fixed)

UINT8_C susceptible to redefinition in cstdint.h

Reported by: cgdoohan@… 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 anonymous, 6 years ago

Component: Noneinteger
Owner: set to Daryle Walker

comment:2 by anonymous, 6 years ago

Component: integerconfig
Owner: changed from Daryle Walker to John Maddock

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

comment:3 by John Maddock, 6 years ago

Resolution: fixed
Status: newclosed

Fixed in develop, thanks for the report.

Note: See TracTickets for help on using tickets.