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

COMP: Fix MSVC error C2516: 'ConstIterator': is not a legal base class #3844

Commits on Jan 3, 2023

  1. COMP: Fix MSVC /permissive- error C2516: ... is not a legal base class

    Works around compile errors that appeared using Visual C++ compiler flag
    `/permissive-` ("Conformance mode"), using either VS2019 or VS2022, saying:
    
    > error C2516: 'ConstIterator': is not a legal base class
    > error C2516: 'GlobalDataStruct': is not a legal base class
    
    Originally reported by Astha, March 14, 2022, and further discussed at
    "ITK build Error in itk::ShapedNeighborhoodIterator",
    https://discourse.itk.org/t/itk-build-error-in-itk-shapedneighborhooditerator/4861
    N-Dekker committed Jan 3, 2023
    Copy the full SHA
    ad1277b View commit details
    Browse the repository at this point in the history