Fix webrtc compilation errors for Chrome Win64
Mostly disabling warnings in the gyp files. BUG=1348 BUG=http://crbug.com/166496 BUG=http://crbug.com/167187 Review URL: https://webrtc-codereview.appspot.com/1063011 Patch from Justin Schuh <jschuh@chromium.org>. git-svn-id: http://webrtc.googlecode.com/svn/trunk@3423 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
9ae4c669ec
commit
63e0964039
@ -85,6 +85,8 @@
|
||||
],
|
||||
}],
|
||||
],
|
||||
# Ignore warning on shift operator promotion.
|
||||
'msvs_disabled_warnings': [ 4334, ],
|
||||
}, # spl
|
||||
], # targets
|
||||
'conditions': [
|
||||
|
||||
@ -100,7 +100,7 @@ static void once(void (*func)(void)) {
|
||||
* InterlockedCompareExchangePointer) to avoid issues similar to
|
||||
* http://code.google.com/p/webm/issues/detail?id=467.
|
||||
*/
|
||||
static CRITICAL_SECTION lock = {(void *)-1, -1, 0, 0, 0, 0};
|
||||
static CRITICAL_SECTION lock = {(void *)((size_t)-1), -1, 0, 0, 0, 0};
|
||||
static int done = 0;
|
||||
|
||||
EnterCriticalSection(&lock);
|
||||
|
||||
@ -66,6 +66,8 @@
|
||||
'plane.h',
|
||||
'plane.cc',
|
||||
],
|
||||
# Silence jpeg struct padding warnings.
|
||||
'msvs_disabled_warnings': [ 4324, ],
|
||||
},
|
||||
], # targets
|
||||
'conditions': [
|
||||
|
||||
@ -122,6 +122,8 @@
|
||||
'dependencies': ['audio_processing_neon',],
|
||||
}],
|
||||
],
|
||||
# TODO(jschuh): Bug 1348: fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
},
|
||||
],
|
||||
'conditions': [
|
||||
|
||||
@ -30,6 +30,8 @@
|
||||
'send_side_bandwidth_estimation.cc',
|
||||
'send_side_bandwidth_estimation.h',
|
||||
],
|
||||
# TODO(jschuh): Bug 1348: fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
},
|
||||
], # targets
|
||||
|
||||
|
||||
@ -38,6 +38,8 @@
|
||||
'media_file_utility.cc',
|
||||
'media_file_utility.h',
|
||||
], # source
|
||||
# TODO(jschuh): Bug 1348: fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
},
|
||||
], # targets
|
||||
'conditions': [
|
||||
|
||||
@ -91,6 +91,8 @@
|
||||
# Mocks
|
||||
'../mocks/mock_rtp_rtcp.h',
|
||||
], # source
|
||||
# TODO(jschuh): Bug 1348: fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
@ -187,6 +187,8 @@
|
||||
],
|
||||
}],
|
||||
],
|
||||
# Ignore warning on shift operator promotion.
|
||||
'msvs_disabled_warnings': [ 4334, ],
|
||||
},
|
||||
], # targets
|
||||
'conditions': [
|
||||
|
||||
@ -137,6 +137,8 @@
|
||||
'vie_sender.cc',
|
||||
'vie_sync_module.cc',
|
||||
], # source
|
||||
# TODO(jschuh): Bug 1348: fix size_t to int truncations.
|
||||
'msvs_disabled_warnings': [ 4267, ],
|
||||
},
|
||||
], # targets
|
||||
'conditions': [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user