diff --git a/modules/rostests/apitests/ntdll/StackOverflow.c b/modules/rostests/apitests/ntdll/StackOverflow.c index 794e2fe0ffb..175142d01a3 100644 --- a/modules/rostests/apitests/ntdll/StackOverflow.c +++ b/modules/rostests/apitests/ntdll/StackOverflow.c @@ -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;