diff options
author | kjellander@webrtc.org <kjellander@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-02-04 10:07:17 +0000 |
---|---|---|
committer | kjellander@webrtc.org <kjellander@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2013-02-04 10:07:17 +0000 |
commit | 1e7f77a7f681b175aff8728fc9dd2d4b98019379 (patch) | |
tree | db228837bcee69267e12766495ee6380ef146bde /common_video | |
parent | f548bdbe8ad4edf1a23361d92f6ef0dbc23d2a3c (diff) | |
download | webrtc-1e7f77a7f681b175aff8728fc9dd2d4b98019379.tar.gz |
Fixing/disabling Windows x64 warnings
Disabled MSVC #4267 warnings in common.gypi to enable x64 builds
for Windows.
Fixed MSVC #4267 warnings in test/testsupport.
Added third_party/directxsdk to .gitignore.
With http://review.webrtc.org/1070008 landed, this should make it possible
to build for x64 on Windows.
BUG=1348
TEST=Compiling with http://review.webrtc.org/1070008 applied:
set GYP_DEFINES="target_arch=x64"
set GYP_GENERATORS=ninja
gclient sync
ninja -C out\Debug_x64
Review URL: https://webrtc-codereview.appspot.com/1060008
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3464 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'common_video')
-rw-r--r-- | common_video/common_video.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common_video/common_video.gyp b/common_video/common_video.gyp index 36e2ee5b..05ddd9d1 100644 --- a/common_video/common_video.gyp +++ b/common_video/common_video.gyp @@ -89,6 +89,10 @@ 'libyuv/scaler_unittest.cc', 'plane_unittest.cc', ], + # Disable warnings to enable Win64 build, issue 1323. + 'msvs_disabled_warnings': [ + 4267, # size_t to int truncation. + ], }, ], # targets }], # include_tests |