Disable the correct warning
I realized that I wrote the wrong warning code when I use Bazel from master branch and build something with MSVC.
For the curious:
C4117:
C4177:
/cc
Closes
@@ -962,7 +962,7 @@ toolchain {
# Make C++ compilation deterministic. Use linkstamping instead of these
# compiler symbols.
# TODO: detect clang on Windows and use "-Wno-builtin-macro-redefined"
- flag: "/wd4177" # Trying to define or undefine a predefined macro
+ flag: "/wd4117" # Trying to define or undefine a predefined macro
flag: "-D__DATE__=\"redacted\""
flag: "-D__TIMESTAMP__=\"redacted\""
flag: "-D__TIME__=\"redacted\""
