Skip to content

Commit

Permalink
Windows: Ignore C4702 unreachable code warning for binary distributio…
Browse files Browse the repository at this point in the history
…n build (issue #1472).

git-svn-id: http://chromiumembedded.googlecode.com/svn/trunk/cef3@1958 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
  • Loading branch information
[email protected] committed Dec 15, 2014
1 parent 0a51fa5 commit 16f78bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,9 @@ if(OS_WINDOWS)
# /wd"4244" = Ignore "conversion possible loss of data" warning
# /wd"4512" = Ignore "assignment operator could not be generated" warning
# /wd"4701" = Ignore "potentially uninitialized local variable" warning
# /wd"4702" = Ignore "unreachable code" warning
# /wd"4996" = Ignore "function or variable may be unsafe" warning
set(CEF_COMPILER_FLAGS "/MP /Gy /GR- /Zi /W4 /WX /wd\"4100\" /wd\"4127\" /wd\"4244\" /wd\"4512\" /wd\"4701\" /wd\"4996\"")
set(CEF_COMPILER_FLAGS "/MP /Gy /GR- /Zi /W4 /WX /wd\"4100\" /wd\"4127\" /wd\"4244\" /wd\"4512\" /wd\"4701\" /wd\"4702\" /wd\"4996\"")
# /MTd = Multithreaded debug runtime
# /Od = Disable optimizations
# /RTC1 = Enable basic run-time checks
Expand Down

0 comments on commit 16f78bb

Please sign in to comment.