diff options
author | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com> | 2015-03-24 11:25:14 +0000 |
---|---|---|
committer | ted.mielczarek@gmail.com <ted.mielczarek@gmail.com> | 2015-03-24 11:25:14 +0000 |
commit | 48b9a40539689743bacbe20df01182b0c367c2c0 (patch) | |
tree | d354728b8b9bf838d2c6b83ae22f59aa5c65e7e7 /src/client/windows/tests | |
parent | Fix compatibility with Android NDK r10d. (diff) | |
download | breakpad-48b9a40539689743bacbe20df01182b0c367c2c0.tar.xz |
Fix compilation with gcc --std=c++11
Patch by Jon Turney <jon.turney.1111@gmail.com>
R=ted at https://breakpad.appspot.com/7824002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1435 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/tests')
-rw-r--r-- | src/client/windows/tests/crash_generation_app/crash_generation_app.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc index fa4e634c..ad395d6c 100644 --- a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc +++ b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc @@ -197,8 +197,8 @@ bool ShowDumpResults(const wchar_t* dump_path, return succeeded; } -static void _cdecl ShowClientConnected(void* context, - const ClientInfo* client_info) { +static void ShowClientConnected(void* context, + const ClientInfo* client_info) { TCHAR* line = new TCHAR[kMaximumLineLength]; line[0] = _T('\0'); int result = swprintf_s(line, @@ -214,9 +214,9 @@ static void _cdecl ShowClientConnected(void* context, QueueUserWorkItem(AppendTextWorker, line, WT_EXECUTEDEFAULT); } -static void _cdecl ShowClientCrashed(void* context, - const ClientInfo* client_info, - const wstring* dump_path) { +static void ShowClientCrashed(void* context, + const ClientInfo* client_info, + const wstring* dump_path) { TCHAR* line = new TCHAR[kMaximumLineLength]; line[0] = _T('\0'); int result = swprintf_s(line, @@ -259,8 +259,8 @@ static void _cdecl ShowClientCrashed(void* context, QueueUserWorkItem(AppendTextWorker, line, WT_EXECUTEDEFAULT); } -static void _cdecl ShowClientExited(void* context, - const ClientInfo* client_info) { +static void ShowClientExited(void* context, + const ClientInfo* client_info) { TCHAR* line = new TCHAR[kMaximumLineLength]; line[0] = _T('\0'); int result = swprintf_s(line, |