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@3464 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -23,6 +23,10 @@
|
||||
'sources': [
|
||||
'./fix/test/kenny.cc',
|
||||
],
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
@@ -211,6 +211,10 @@
|
||||
'../../neteq4/mock/mock_packet_buffer.h',
|
||||
'../../neteq4/mock/mock_payload_splitter.h',
|
||||
],
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
}, # audio_coding_unittests
|
||||
],
|
||||
}],
|
||||
|
||||
@@ -99,6 +99,10 @@
|
||||
'sources': [
|
||||
'webrtc_neteq_unittest.cc',
|
||||
],
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
}, # neteq_unittests
|
||||
{
|
||||
'target_name': 'NetEqRTPplay',
|
||||
@@ -137,6 +141,10 @@
|
||||
'sources': [
|
||||
'test/NetEqRTPplay.cc',
|
||||
],
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
@@ -193,6 +201,10 @@
|
||||
'test/NETEQTEST_RTPpacket.cc',
|
||||
'test/NETEQTEST_RTPpacket.h',
|
||||
],
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
}], # include_tests
|
||||
|
||||
@@ -113,6 +113,10 @@
|
||||
'time_stretch.cc',
|
||||
'time_stretch.h',
|
||||
],
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
'conditions': [
|
||||
@@ -144,7 +148,11 @@
|
||||
'audio_decoder.cc',
|
||||
'interface/audio_decoder.h',
|
||||
],
|
||||
}, # audio_decoder_unittest
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
}, # audio_decoder_unittests
|
||||
|
||||
{
|
||||
'target_name': 'neteq_unittest_tools',
|
||||
@@ -168,6 +176,10 @@
|
||||
'tools/rtp_generator.cc',
|
||||
'tools/rtp_generator.h',
|
||||
],
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
}, # neteq_unittest_tools
|
||||
], # targets
|
||||
}], # include_tests
|
||||
|
||||
@@ -60,6 +60,10 @@
|
||||
'sources': [
|
||||
'test/RTPencode.cc',
|
||||
],
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
@@ -168,6 +172,10 @@
|
||||
'test/NETEQTEST_RTPpacket.cc',
|
||||
'test/NETEQTEST_RTPpacket.h',
|
||||
],
|
||||
# Disable warnings to enable Win64 build, issue 1323.
|
||||
'msvs_disabled_warnings': [
|
||||
4267, # size_t to int truncation.
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user