diff options
| author | Zachary Turner <zturner@google.com> | 2015-04-14 16:57:54 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-04-14 16:57:54 +0000 |
| commit | ad84bc4c755963899cccfb181fc9e33d0c586ca4 (patch) | |
| tree | e476c2068e29b4dfe3340e96261dc7f34ad9a252 /llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
| parent | 754cf7920ba3c1a5e09b8aa516d63c0b101299d5 (diff) | |
| download | llvm-ad84bc4c755963899cccfb181fc9e33d0c586ca4.zip llvm-ad84bc4c755963899cccfb181fc9e33d0c586ca4.tar.gz llvm-ad84bc4c755963899cccfb181fc9e33d0c586ca4.tar.bz2 | |
[msvc] Strip /W[0-4] before appending /W4
Certain versions of CMake specify /W3 as part of CMAKE_CXX_FLAGS
by default, before you do anything. Appending /W4 to the end of
this and using the Ninja generator results in
cl : Command line warning D9025 : overriding '/W3' with '/W4'.
It is not possible to suppress this since it is a command line
warning and not a compiler warning, so we must fix the command
line to contain only one value for /Wn.
llvm-svn: 234907
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions
