Closed ghost closed 2 years ago
from /home/dev/gcc_stapl/stapl/./tools/libstdc++/11.1.0/bits/stl_vector.h:1994,
from /usr/include/c++/11/vector:67,
It looks like you're faking a Standard Library header. This is undefined behavior, so Boost.ContainerHash failing to compile is the least of your worries. Talk to whoever wrote /home/dev/gcc_stapl/stapl/./tools/libstdc++/11.1.0/bits/stl_vector.h
and get them to fix it; this is not the fault of Boost.
+1 on @ecatmur comments, but it loks like a circular include issue - ie your homebrew std lib is #including boost headers which are then trying to #include the std lib.
I'm trying to upgrade a project that used to use Boost 1.63 and gcc 6.5 to Boost 1.77 and gcc 11.1.0 I am able to compile using flags for c++ 11 and c++ 14 but not c++ 17
This is the error I get from the container hash library and I'm not sure what's wrong here: