[all-commits] [llvm/llvm-project] c3a508: [Driver, test] Add -Wno-msvc-not-found to gcc-param.c

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jun 7 11:45:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3a50879dfca9ab06ebfe52f48019bb6ac40bb4d
      https://github.com/llvm/llvm-project/commit/c3a50879dfca9ab06ebfe52f48019bb6ac40bb4d
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M clang/test/Driver/gcc-param.c

  Log Message:
  -----------
  [Driver,test] Add -Wno-msvc-not-found to gcc-param.c

Fixes: 56c4971d33230607a7329bb831b6c8588231e872

If the default target triple uses visualstudio::Linker::ConstructJob,
when a MSVC installation cannot be found, there will be a
-Wmsvc-not-found diagnostic, which is turned to an error due to -Werror.

We have many driver tests that don't specify --target= and would get a
-Wmsvc-not-found warning, but this might be the only that uses -Werror
and is not skipped by a `UNSUPPORTED`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list