-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include conflict between boost/type_traits and boost/histogram #462 #290
Comments
The error occurs with |
Thank you for reporting this bug. There is a name clash, somewhere Link to reproduce: Only gcc seems to be affected and only versions starting with 7.1 |
It looks like a bug in gcc. A workaround is to replace line 82 in template <class T> using rank = integral_constant<std::size_t, (::boost::detail::rank_imp<T, 0>::value)>; |
Minimal example to reproduce the problem without including boost at all: msvc is OK, clang is OK, gcc fails |
Simple workarounds for the gcc bug were found by Thomas Ferrand and John Maddock. Those will be applied tomorrow. Next release 1.75 will have the fix for this. |
gcc bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97663 |
fixed in develop |
The following minimal program
fails to compile with
on an ubuntu 18.04 docker container with gcc7.5.0 and boost-headers 1.74
To reproduce, e.g.
sudo docker run -v $PWD:/corsika -it corsika/devel:u-18.04 /bin/bash
and then compile the above mini program, while putting the boost headers right there.The text was updated successfully, but these errors were encountered: