mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[0.4.9][NTDLL_APITEST] Mute 1 MSVC2010SP1 x86 dbg warning C4717 CORE-18104
can be observed with MSVC 2010SP1 (16.0.40219.1) x86 target in dbg configuation:
c:\047rls\reactos\modules\rostests\apitests\ntdll\stackoverflow.c(57) : warning C4717: 'infinite_recursive' : recursive on all control paths, function will cause runtime stack overflow
Muting is okay here, because stack overflow is specifically what is aimed to be tested here.
Fix is a partial pick of 0.4.14-dev-847-g 42d2d5ec9c
No warnings left in module NTDLL_APITEST and no C4717 left in releases/0.4.7.
This commit is contained in:
parent
ca4c076210
commit
67ea7ad73c
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
|||
|
||||
#include "precomp.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4717) // disable warning about recursive function
|
||||
#endif
|
||||
|
||||
static int iteration = 0;
|
||||
static PVOID StackAllocationBase;
|
||||
static PVOID LastStackAllocation;
|
||||
|
|
Loading…
Reference in a new issue