I have a problem with stdio.h. Running VS 2017, v15.7, toolset 141, Community Edition, Windows 10 SDK (10.0.17134.0), trying to build an app using CMake. The project contains many carefully thought out CMakeLists, which I did not write. CMake>Build All deals handily with the 603 files on the stack, and the build succeeds.
However, it won't run. VS tells me exactly where the error is:
Unhandled exception at 0x000007FEE83BF1E7 (ucrtbased.dll) in complex_simplification.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
The problem block in stdio.h is at line 1390:
{
int const _Result = __stdio_common_vsprintf(_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS |_CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION,
_Buffer, _BufferCount, _Format, _Locale, _ArgList);
return _Result < 0 ? -1 : _Result;
}
What have I done?
If one of the above lines of action actually has promise, maybe someone could mention it and I can persist in that direction.
thanks, GB
User contributions licensed under CC BY-SA 3.0