Revert "[cmake][msvc] Enable standards-conforming preprocessor"
authorJan Svoboda <jan_svoboda@apple.com>
Wed, 2 Nov 2022 17:57:24 +0000 (10:57 -0700)
committerJan Svoboda <jan_svoboda@apple.com>
Wed, 2 Nov 2022 17:58:26 +0000 (10:58 -0700)
commit16e1a49441c51817697138437d8db2c15bc19cb4
treeec48286e68613662af29a601daf7c679aa49614a
parente4b126cc2d33033a5538d72a88f6aa153ac8b757
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
llvm/cmake/modules/HandleLLVMOptions.cmake