-
Notifications
You must be signed in to change notification settings - Fork 214
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
Compilation bug in >= 1.76 from detail::overlay::collinear::handle_as_equal #1139
Comments
Of course this is only what I have perceived so far. I'll re-trigger this error for a more precise error-message. |
Hi, I cannot reproduce that. Can you verify it still occurs in |
Now I can reproduce it, if coordinate type is also different. But get more (similar) problems. Will be fixed. |
This fixes boostorg#1139 , and more required code changes. Including unit test.
This fixes boostorg#1139 , and more required code changes. Including unit test.
This fixes boostorg#1139 , and more required code changes. Including unit test.
This fixes #1139 , and more required code changes. Including unit test.
I experience some problems when adapting Lanelet2 library to boost v1.78.0 , one of which is caused by a bug introduced with release v1.76.0 and has not been fixed yet.
When was this introduced
Introduced with 84d3a8d, specifically this line: 84d3a8d#diff-21d011ddccb292362e430e14bebe3673bfa5e10f432ee3a85ede067fe8f140c6R993 which is still existing in the latest boost version as well.
Identified issue
You're using a conditional operator, but
range_q
andrange_p
can be of a different type.In my case, they were
Eigen::Matrix<double, 2, 1>
andEigen::Matrix<double, 2, 1, 2>
, i.e. aligned and non-aligned 2D Eigen-vectors.Proposed fix
The fix is quite simple. This would be a proposal for the current version, but applicable to all other releases as well
It would be nice if this could be backported to all affected revisions as well with a patch-release. I personally would be happy if this was provided "only" from v1.78.0 onward.
The text was updated successfully, but these errors were encountered: