mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-43499: Silence compiler warnings about using legacy C API on Windows (GH-24873)
This commit is contained in:
parent
a838e477a0
commit
651fc30af7
8 changed files with 42 additions and 0 deletions
|
@ -170,7 +170,10 @@ dl_funcptr _PyImport_FindSharedFuncptrWindows(const char *prefix,
|
|||
|
||||
_Py_CheckPython3();
|
||||
|
||||
_Py_COMP_DIAG_PUSH
|
||||
_Py_COMP_DIAG_IGNORE_DEPR_DECLS
|
||||
wpathname = _PyUnicode_AsUnicode(pathname);
|
||||
_Py_COMP_DIAG_POP
|
||||
if (wpathname == NULL)
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue