[all-commits] [llvm/llvm-project] 16e1a4: Revert "[cmake][msvc] Enable standards-conforming ...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Nov 2 10:58:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16e1a49441c51817697138437d8db2c15bc19cb4
      https://github.com/llvm/llvm-project/commit/16e1a49441c51817697138437d8db2c15bc19cb4
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  Revert "[cmake][msvc] Enable standards-conforming preprocessor"

This reverts commit 12d8e7c6ade55bba241259312e3e4bdcf6aeab81.

The Windows MLIR buildbot started failing with:

C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winbase.h(9531): error C2220: the following warning is treated as an error
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winbase.h(9531): warning C5105: macro expansion producing 'defined' has undefined behavior
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um\winbase.h(9531): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings




More information about the All-commits mailing list