Modify

Opened 6 years ago

Closed 6 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: Daniel James
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@…> 6 years ago.
Demonstration of issue.
emplace_args.patch (1.6 KB) - added by Luke Elliott <lukester_null@…> 6 years ago.
Possible fix.

Download all attachments as: .zip

Change History (6)

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

Attachment: unordered_map_test.cpp added

Demonstration of issue.

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

Attachment: emplace_args.patch added

Possible fix.

comment:1 Changed 6 years ago by Daniel James

Status: newassigned

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 6 years ago by Daniel James

(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 6 years ago by Luke Elliott <lukester_null@…>

Yep that works for me, thanks!

comment:4 Changed 6 years ago by Daniel James

Milestone: To Be DeterminedBoost 1.50.0
Resolution: fixed
Status: assignedclosed

Merged to release in [78319]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Daniel James.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.