Unverified Commit e08a5811 authored by mvoelkle-cern's avatar mvoelkle-cern Committed by GitHub
Browse files

Fix compilation with gcc < 5 (#2956)

When the user defines _GLIBCXX_USE_CXX11_ABI=0 to force the pre-c++11 ABI, numpy.h assumes that is_trivially_copyable is available.
It is not necessarily the case. This patch uses clang's feature detection instead.
The workaround is for certain libstdc++ versions, so the test should target these particular versions.
parent 114be7f4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment