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
Compile failure in C++11 mode with g++-4.6 #13
Comments
As I understand these errors, some template-based deduction becomes ambiguous with C++11 because of the extended expressivity of the language. I see two solutions:
The solution 1. is the cleanest in my opinion. |
Agreed that solution 1. is much better than 2. After some investigation, I think the issue here may be that Introducing a layer of indirection does work however, I will submit a pull request. |
Thank you! |
Fixed by pull request #14. |
Hi guys,
Thanks for the great library. I've just started playing with it for point cloud matching of airborne lidar scans, and so far it's looking much more robust than I could reasonably have expected :-)
I've come across one small issue with the compile - we build all our stuff in C++11 mode using g++-4.6 or later, and I'm getting a compile error, which appears to relate to the boost initialization stuff. (The build works fine if I compile in C++98 mode.)
The error is a horrible mess of template badness which I'll paste in below. I'm not sure whether it's possible to fix directly, but I'd be happy to make a patch which changes all this to use C array initialization and a small amount of parsing code to create the bibliography.
Here's the error I get with g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
The text was updated successfully, but these errors were encountered: