Modify

Opened 5 years ago

Closed 5 years ago

#6784 closed Bugs (fixed)

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 (2)

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

Download all attachments as: .zip

Change History (6)

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

Demonstration of issue.

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

Possible fix.

comment:1 Changed 5 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 5 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 5 years ago by Luke Elliott <lukester_null@…>

Yep that works for me, thanks!

comment:4 Changed 5 years ago by danieljames

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

Merged to release in [78319]

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain danieljames.
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.