New user self-registration is disabled due to spam. Please email eigen-core-team @ if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 1200 - aligned_allocator error with unordered_map
Summary: aligned_allocator error with unordered_map
Alias: None
Product: Eigen
Classification: Unclassified
Component: Core - general (show other bugs)
Version: 3.2
Hardware: x86 - 64-bit Linux
: Normal Compilation Problem
Assignee: Nobody
Depends on:
Reported: 2016-04-11 13:10 UTC by JayCee
Modified: 2016-04-14 13:58 UTC (History)
4 users (show)


Description JayCee 2016-04-11 13:10:57 UTC
I recently switch from 3.2.0 to 3.2.8 and the compiler now reports an error when the aligned_allocator is used with std::unordered_map. The bug was already reported here:

However, the working version of the aligned_allocator from the dev branch was probably not backported to the stable branch as suggested in the last post from the mailing list.

Is there a workaround?
Comment 1 Gael Guennebaud 2016-04-13 13:00:21 UTC
thanks for the reminder, done:

The workaround is thus to use the 3.2 branch waiting for 3.2.9.
Comment 2 JayCee 2016-04-14 13:58:36 UTC
Thanks a lot! I patched the file manually for now. Seems to work without problems.

Note You need to log in before you can comment on or make changes to this bug.