Supress msvc warning.
Replace tabs with spaces.
This commit is contained in:
parent
71b88deb2a
commit
b72a69f25c
@ -174,6 +174,8 @@ namespace
|
|||||||
return i - skip;
|
return i - skip;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:4748)
|
||||||
static NV_NOINLINE int backtrace(void * trace[], int maxcount) {
|
static NV_NOINLINE int backtrace(void * trace[], int maxcount) {
|
||||||
CONTEXT ctx = { 0 };
|
CONTEXT ctx = { 0 };
|
||||||
#if NV_CPU_X86 && !NV_CPU_X86_64
|
#if NV_CPU_X86 && !NV_CPU_X86_64
|
||||||
@ -191,7 +193,7 @@ namespace
|
|||||||
|
|
||||||
return backtraceWithSymbols(&ctx, trace, maxcount, 1);
|
return backtraceWithSymbols(&ctx, trace, maxcount, 1);
|
||||||
}
|
}
|
||||||
|
#pragma warning(pop)
|
||||||
|
|
||||||
static NV_NOINLINE void printStackTrace(void * trace[], int size, int start=0)
|
static NV_NOINLINE void printStackTrace(void * trace[], int size, int start=0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user