Staging
v0.5.1
https://github.com/python/cpython
Revision 066394018a8463643cc63d933493f0afa99d72cc authored by Victor Stinner on 04 December 2020, 15:23:56 UTC, committed by GitHub on 04 December 2020, 15:23:56 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1866884 is fixed in gdb
10.1 (failed to reproduce on gdb-10.1-1.fc34.aarch64).
1 parent eaccc12
Raw File
Tip revision: 066394018a8463643cc63d933493f0afa99d72cc authored by Victor Stinner on 04 December 2020, 15:23:56 UTC
bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637)
Tip revision: 0663940
invalid_parameter_handler.c
#ifdef _MSC_VER

#include <stdlib.h>

#if _MSC_VER >= 1900
/* pyconfig.h uses this function in the _Py_BEGIN/END_SUPPRESS_IPH
 * macros. It does not need to be defined when building using MSVC
 * earlier than 14.0 (_MSC_VER == 1900).
 */

static void __cdecl _silent_invalid_parameter_handler(
    wchar_t const* expression,
    wchar_t const* function,
    wchar_t const* file,
    unsigned int line,
    uintptr_t pReserved) { }

_invalid_parameter_handler _Py_silent_invalid_parameter_handler = _silent_invalid_parameter_handler;

#endif

#endif
back to top