Modify

Ticket #6784 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

boost::unordered compilation failure in emplace_args.hpp with Solaris Studio 12.3

Reported by: Luke Elliott <lukester_null@…> Owned by: danieljames
Milestone: Boost 1.50.0 Component: unordered
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

boost::unordered_map appears to cause compilation errors with Solaris Studio 12.3. There is a workaround in detail/emplace_args.hpp for 5.9 or earlier of the compiler, but it doesn't also doesn't work (SVN comment says it is untested...).

Fixing the workaround and applying it for <= 5.12 seems to do the trick (attached).

No other compiler versions than that with Solaris Studio 12.3 tested.

Regards

Luke Elliott.

Attachments

unordered_map_test.cpp Download (1.8 KB) - added by Luke Elliott <lukester_null@…> 2 years ago.
Demonstration of issue.
emplace_args.patch Download (1.6 KB) - added by Luke Elliott <lukester_null@…> 2 years ago.
Possible fix.

Change History

Changed 2 years ago by Luke Elliott <lukester_null@…>

Demonstration of issue.

Changed 2 years ago by Luke Elliott <lukester_null@…>

Possible fix.

comment:1 Changed 2 years ago by danieljames

  • Status changed from new to assigned

Thanks for the useful report, I'm going to make a bit of a more complicated change in trunk to try to tidy things up a little. Can you try it out?

comment:2 Changed 2 years ago by danieljames

(In [77972]) Unordered: Rejig some of the emplace_args macro code. Refs #6784

This is a bit cleaner and will hopefully fix the Sun problems.

comment:3 Changed 2 years ago by Luke Elliott <lukester_null@…>

Yep that works for me, thanks!

comment:4 Changed 2 years ago by danieljames

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone changed from To Be Determined to Boost 1.50.0

Merged to release in [78319]

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.