ITK requires a compiler with C++17 support.
VS2017 and earlier: NOT supported
MSVC toolset v142 (first shipped with VS2019): supported
MSVC toolset v143 (first shipped with VS2022): supported
GNU Compile Collection#
GCC 7 and later should be supported.
Clang 5 and later should be supported
AppleClang 10.0.0 and later (from Xcode 10.0) should be supported
Intel C++ Compiler#
Intel C++ 19.1 and later
Future versions of these compilers should be backwards compatible, and thus ITK is expected to work with them.
In the near term, ITK should continue compiling with new compiler versions, probably with some warnings. Eventually, ITK will stop compiling with newest compiler versions. But upgrading to a newer version of ITK is recommended long before then!