Opened 6 years ago

Closed 6 years ago

#12177 closed Bugs (fixed)

vector::priv_merge uses unqualified uintptr_t

Reported by: manuel.freiberger@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost 1.61.0 Severity: Problem
Keywords: Cc:

Description

Hello,

boost/container/vector.hpp uses uintptr_t once without boost:: namespace in line 2250:

uintptr_t const szt_align_mask = container_detail::alignment_of<size_type>::value - 1;

The type should read boost::uintptr_t. ARMCC notices this glitch because it does not place uintptr_t in global namespace but in namespace std.

Best regards, Manuel

Change History (1)

comment:1 by Ion Gaztañaga, 6 years ago

Resolution: fixed
Status: newclosed

Thanks for the report. Fixed in develop:

[develop 132e57a] Fixes Trac #12177 ("vector::priv_merge uses unqualified uintptr_t")

Note: See TracTickets for help on using tickets.