Opened 11 years ago

Closed 11 years ago

#6522 closed Bugs (fixed)

boost::unordered not defined warnings on GCC / OS X

Reported by: Ben Brian <bb51@…> Owned by: Daniel James
Milestone: Boost 1.49.0 Component: unordered
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

Similar to #6142, we get the following warnings when including unordered_map.hpp or unordered_set.hpp in our project:

include/boost/unordered/detail/allocator_helpers.hpp:193:5: warning: "BOOST_UNORDERED_USE_ALLOCATOR_TRAITS" is not defined

include/boost/unordered/detail/extract_key.hpp:54:5: warning: "BOOST_UNORDERED_USE_RV_REF" is not defined

This is on OS X Lion with GCC 4.2.1 and Boost 1.48. If you need any more information, let me know.

Change History (3)

comment:1 by Daniel James, 11 years ago

Milestone: To Be DeterminedBoost 1.49.0
Status: newassigned

comment:2 by Daniel James, 11 years ago

(In [76891]) Unordered: Fix undefined macro warnings. Refs #6522.

Just removing the rv reference stuff in extract_keys. I don't it's needed anyway.

comment:3 by Daniel James, 11 years ago

Resolution: fixed
Status: assignedclosed

(In [76943]) Unordered: Merge to release. Fixes #6522.

Fixes undefined macros, removes some unused code and fix some potential issues for when std::allocator_traits is used.

Note: See TracTickets for help on using tickets.