This is an archive of the discontinued LLVM Phabricator instance.

Silence MSVC warning D9025 when /W3 present after /W4
AbandonedPublic

Authored by angelsl on Oct 13 2015, 4:16 AM.

Details

Reviewers
compnerd

Diff Detail

Event Timeline

angelsl updated this revision to Diff 37229.Oct 13 2015, 4:16 AM
angelsl retitled this revision from to Silence MSVC warning D9025 when /W3 present after /W4.
angelsl updated this object.
angelsl added a reviewer: compnerd.
angelsl added subscribers: compnerd, llvm-commits.
compnerd added inline comments.Oct 14 2015, 7:29 PM
CMakeLists.txt
208

What happens if COMPILER_RT_HAS_W3_FLAG is set to false? In this case, you've cleared out the flag but not re-appended it. Or can that not occur?

angelsl updated this revision to Diff 37454.Oct 15 2015, 1:50 AM
angelsl marked an inline comment as done.
compnerd edited edge metadata.Oct 18 2015, 6:27 PM

This would avoid that issue at the cost of preventing the user from specifying an alternative flag via the command line. Is there a good reason to disallow that?

angelsl abandoned this revision.Oct 20 2015, 12:05 AM

I guess if the warning's not too annoying, we can leave it then.