I need a compiler that supports c++20, like GCC 10.1 (used on linux), but to use it in my Windows 10.
I saw posts that recommend Mingw-w64, but does it supports c++20?
I need a compiler that supports c++20, like GCC 10.1 (used on linux), but to use it in my Windows 10.
I saw posts that recommend Mingw-w64, but does it supports c++20?
In the meantime GCC 10 has been released and MinGW builds are available.
You can download a standalone build of MinGW-w64 with GCC 10 for Windows 32-bit and 64-bit from http://winlibs.com/
You can install Clang and MSVC/Visual Studio on Windows directly. For gcc you need MinGw /Msys2. I use wsl. With wsl you can check out gcc trunk and build it yourself.
C++20 is not completely supported but you can use most of it like coroutines, concepts...
Other compilers usually lack behind those.