On Fri, 8 Dec 2023 08:00:45 GMT, Julian Waters <jwat...@openjdk.org> wrote:

> Is it possible to fold clang-cl into the microsoft toolchain instead, and 
> just pass clang-cl as the compiler instead of cl?

I suppose it's possible; clang-cl output is supposed to be compatible with link 
& lib, and most command line options are similar.

The thing is, when it comes to warning control, only W0-W4 are somewhat similar 
between clang-cl and microsoft; other than that, clang-cl accepts the same 
options as the regular clang. Folding clang-cl into microsoft would leave us 
with no way to suppress warnings.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17019#issuecomment-1846872278

Reply via email to