CLion Windows, using VS 2019 toolchain

I’m setting up a JUCE CLion project on Windows, and seeing that CLion can use the already installed VS 2019 toolchain, I chose that. However I’m getting a compile error:

cl : Command line error D8021 : invalid numeric argument '/Wno-strict-aliasing

Should I be using MingW or Cygwin toolchains instead?

Projucer’s CLion exporter is hard-coded to take its settings from the Code::Blocks exporter on Windows, which in turn is expecting a MinGW toolchain. There’s not currently a way of using VS.

Ok, thanks - I just installed the MinGW toolchain which works fine