-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Description
The coreclr codebase has been using C++ 11 for a long time. Adopting C++ 17 features can help simplifying some code, for example message-less static_assert
, or usage of filesystem
in non-clr testing code.
It would require all supported configurations to have C++ 17 compatible compiler. Since we have upgraded the CMake requirement to 3.20 which was released in March 2021, it's unlikely to see an environment to have CMake 3.20 but no C++ 17 compiler.
On Windows and Apple OSes we are using latest compilers so there should be less concern. According to https://en.cppreference.com/w/cpp/compiler_support/17 , all C++ 17 language features are supported since GCC 7. RHEL 8 includes GCC 8.x. I couldn't figure out the GCC version included in all distros, but it seems that all our supported distros are having higher GCC version.
/cc @jkoritzinsky @dotnet/distro-maintainers Any comment or blocker on this?
Metadata
Metadata
Assignees
Type
Projects
Status