Skip to content

Conversation

@jirwin-geon
Copy link

This was specifically discovered with Yocto Zeus, but can also be reproduced with the Software Collections Library on CentOS 7.

Newer versions of the GNU STL library apparently use the allocator template rebind in places they did not before. Because fftw_allocator<T> inherits from std::allocator<T>, it also inherits that rebind unless it is overridden. This causes compilation of std::vector<T, fftw_allocator<T> > to fail due to the mismatch of allocator types.

…C 9.

Newer versions of the STL library apparently use rebind in places they did not
before. Because fftw_allocator<T> inherits from std::allocator<T>, it also
inherits that rebind unless it is overridden. This caused std::vector to be
unable to compile with fftw_allocator due to the mismatch of allocator types.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant