Skip to content
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

[regression] MSVC Warning C4459: declaration of 'indices' hides global declaration #1169

Closed
wanghan02 opened this issue Jul 3, 2023 · 2 comments
Assignees

Comments

@wanghan02
Copy link

There is a fixed ticket#835. Now the warning pops out again with boost 1.82.0 at a different location. MSVC version is VS2022 17.1.0.

boost_1_82_0\boost\geometry\algorithms\detail\overlay\colocate_clusters.hpp(89,1): warning C4459: declaration of 'indices' hides global declaration
boost_1_82_0\boost\multi_array\base.hpp(70,32): note: see declaration of 'boost::`anonymous-namespace'::indices'
boost_1_82_0\boost\geometry\algorithms\detail\overlay\handle_colocations.hpp(100): note: see reference to function template instantiation 'void boost::geometry::detail::overlay::colocate_clusters<Clusters,Turns>(const Clusters &,Turns &)' being compiled
        with
        [
            Clusters=cluster_type,
            Turns=turn_container_type
        ]
@wanghan02
Copy link
Author

This is still a problem in boost 1.83.0.

@barendgehrels
Copy link
Collaborator

Fixed by #1202

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants