mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Add /we4189 switch to CMAKE_CXX_FLAGS for MSVC.
- treat unused local variables warnings as error in Debug Change-Id: I2da08b72e0f0083d3cdf932fbf92ef4981a88615
This commit is contained in:
committed by
sys_ocldev
parent
6e0d04e25a
commit
cb37f2a779
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -73,6 +73,10 @@ void SehException::getCallStack(unsigned int code, struct _EXCEPTION_POINTERS *e
|
||||
stack.clear();
|
||||
|
||||
BOOL result = SymInitialize(hProcess, NULL, TRUE);
|
||||
if (result == FALSE) {
|
||||
return;
|
||||
}
|
||||
|
||||
STACKFRAME64 stackFrame;
|
||||
memset(&stackFrame, 0, sizeof(STACKFRAME64));
|
||||
const int nameSize = 255;
|
||||
|
||||
Reference in New Issue
Block a user