Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 806 Bytes

compilers.rst

File metadata and controls

20 lines (14 loc) · 806 Bytes

Compiler workarounds

This page tracks the workarounds for the various compiler issues that we encountered in the development. This is mostly of interest for developers interested in contributing to xtensor-python.

GCC and std::allocator<long long>

GCC sometimes fails to automatically instantiate the std::allocator class template for the types long long and unsigned long long. Those allocators are thus explicitly instantiated in the dummy function void long_long_allocator() in the file py_container.hpp.