From 48b9a40539689743bacbe20df01182b0c367c2c0 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Tue, 24 Mar 2015 11:25:14 +0000 Subject: Fix compilation with gcc --std=c++11 Patch by Jon Turney R=ted at https://breakpad.appspot.com/7824002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1435 4c0a9323-5329-0410-9bdc-e9ce6186880e --- .../tests/crash_generation_app/crash_generation_app.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/client/windows') 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, -- cgit v1.2.1