Skip to content

New expat triggers a warning with MSVC 2019 #5534

@SimonRit

Description

@SimonRit

Description

The new update of expat triggers a warning with MSVC 2019, see this change. MSVC 2019 is still supported according to ITK doc.

Steps to Reproduce

Configure ITK with CMake using MSVC 2019 as a generator.

Expected behavior

No CMake warning.

Actual behavior

Two CMake warnings

CMake Warning at Modules/ThirdParty/Expat/src/itkexpat/CMakeLists.txt:240 (message):
  MSVC_VERSION 1929 is NOT OFFICIALLY SUPPORTED by Expat.


CMake Warning at Modules/ThirdParty/Expat/src/itkexpat/CMakeLists.txt:241 (message):
  Please use Visual Studio 17.0/2022/1930 or later.  Thank you!

See https://my.cdash.org/builds/3110646/configure.

Reproducibility

100%

Versions

ITK main HEAD.

Environment

Windows, MSVC 2019.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:CompilerCompiler support or related warnings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions