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:
andrew@webrtc.org 2013-01-29 06:45:22 +00:00
parent 9ae4c669ec
commit 63e0964039
9 changed files with 17 additions and 1 deletions

View File

@ -85,6 +85,8 @@
],
}],
],
# Ignore warning on shift operator promotion.
'msvs_disabled_warnings': [ 4334, ],
}, # spl
], # targets
'conditions': [

View File

@ -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);

View File

@ -66,6 +66,8 @@
'plane.h',
'plane.cc',
],
# Silence jpeg struct padding warnings.
'msvs_disabled_warnings': [ 4324, ],
},
], # targets
'conditions': [

View File

@ -122,6 +122,8 @@
'dependencies': ['audio_processing_neon',],
}],
],
# TODO(jschuh): Bug 1348: fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
},
],
'conditions': [

View File

@ -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

View File

@ -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': [

View File

@ -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, ],
},
],
}

View File

@ -187,6 +187,8 @@
],
}],
],
# Ignore warning on shift operator promotion.
'msvs_disabled_warnings': [ 4334, ],
},
], # targets
'conditions': [

View File

@ -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': [