Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable warnings on windows #574

Merged
merged 1 commit into from
Nov 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions CommonCompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,7 @@ elseif(MSVC)
# http://www.ogre3d.org/forums/viewtopic.php?f=2&t=60015&start=0
set(COMMON_CXX_FLAGS /DWIN32 /D_WINDOWS /W3 /Zm500 /EHsc /GR
/D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS
/wd4068 # disable unknown pragma warnings
/wd4244 # conversion from X to Y, possible loss of data
/wd4800 # forcing value to bool 'true' or 'false' (performance warning)
/wd4351 # new behavior: elements of array 'array' will be default initialized
/W0
)
set(COMMON_CXX_FLAGS_DEBUG /WX)
else()
Expand Down