Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error: subprocess-exited-with-error
- × python setup.py bdist_wheel did not run successfully.
- │ exit code: 1
- ╰─> [1477 lines of output]
- running bdist_wheel
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.10
- creating build/lib.linux-x86_64-3.10/pyGlobalPlatform
- copying pyGlobalPlatform/__init__.py -> build/lib.linux-x86_64-3.10/pyGlobalPlatform
- copying pyGlobalPlatform/globalplatformlib.py -> build/lib.linux-x86_64-3.10/pyGlobalPlatform
- running build_ext
- building 'pyGlobalPlatform.pyGlobalPlatform' extension
- creating build/temp.linux-x86_64-3.10
- creating build/temp.linux-x86_64-3.10/src
- gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/PCSC -I/usr/include/python3.10 -c src/gp_functions.cpp -o build/temp.linux-x86_64-3.10/src/gp_functions.o
- src/gp_functions.cpp: In function ‘PyObject* connectCard(PyObject*, PyObject*)’:
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:223:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 223 | ARGS_GetTCHARArray(1, ReaderName);
- | ^~~~~~~~~~~~~~~~~~
- In file included from /usr/include/python3.10/Python.h:83,
- from src/gp_functions.h:4,
- from src/gp_functions.cpp:1:
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:101:15: warning: variable ‘dwReaderNameLength’ set but not used [-Wunused-but-set-variable]
- 101 | DWORD dw##n##Length = 0; \
- | ^~
- src/gp_functions.cpp:223:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 223 | ARGS_GetTCHARArray(1, ReaderName);
- | ^~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyOPGP_select_application(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:256:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 256 | ARGS_GetBYTEArray(2, BYTE, AID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_status(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:270:5: note: in expansion of macro ‘ARGS_GetStruct’
- 270 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:278:112: error: invalid conversion from ‘GP211_APPLICATION_DATA*’ to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
- 278 | OPGP_ERROR_STATUS errorStatus = GP211_get_status(stCardContext, stCardInfo, pstSecurityInfo, bCardElement, astAppletData, astExecutableData, &dwDataCount);
- | ^~~~~~~~~~~~~
- | |
- | GP211_APPLICATION_DATA*
- src/gp_functions.cpp:278:127: error: cannot convert ‘GP211_EXECUTABLE_MODULES_DATA*’ to ‘GP211_APPLICATION_DATA*’
- 278 | OPGP_ERROR_STATUS errorStatus = GP211_get_status(stCardContext, stCardInfo, pstSecurityInfo, bCardElement, astAppletData, astExecutableData, &dwDataCount);
- | ^~~~~~~~~~~~~~~~~
- | |
- | GP211_EXECUTABLE_MODULES_DATA*
- In file included from src/gp_functions.cpp:13:
- /usr/local/include/globalplatform/globalplatform.h:428:88: note: initializing argument 6 of ‘OPGP_ERROR_STATUS GP211_get_status(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, GP211_SECURITY_INFO*, BYTE, BYTE, GP211_APPLICATION_DATA*, GP211_EXECUTABLE_MODULES_DATA*, PDWORD)’
- 428 | BYTE cardElement, BYTE format, GP211_APPLICATION_DATA *applData,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
- src/gp_functions.cpp:286:135: error: ‘struct GP211_APPLICATION_DATA’ has no member named ‘AID’
- 286 | PyDict_SetItem(pobjOneAppletData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *)pstOneAppletData->AID, pstOneAppletData->AIDLength));
- | ^~~
- src/gp_functions.cpp:29:93: note: in definition of macro ‘_PyString_FromArrayAndSize’
- 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
- | ^
- src/gp_functions.cpp:286:158: error: ‘struct GP211_APPLICATION_DATA’ has no member named ‘AIDLength’
- 286 | PyDict_SetItem(pobjOneAppletData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *)pstOneAppletData->AID, pstOneAppletData->AIDLength));
- | ^~~~~~~~~
- src/gp_functions.cpp:29:96: note: in definition of macro ‘_PyString_FromArrayAndSize’
- 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
- | ^
- src/gp_functions.cpp:302:149: error: ‘struct GP211_EXECUTABLE_MODULES_DATA’ has no member named ‘AID’
- 302 | PyDict_SetItem(pobjOneExecuableData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *) pstOneExecuableModulesData->AID, pstOneExecuableModulesData->AIDLength));
- | ^~~
- src/gp_functions.cpp:29:93: note: in definition of macro ‘_PyString_FromArrayAndSize’
- 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
- | ^
- src/gp_functions.cpp:302:182: error: ‘struct GP211_EXECUTABLE_MODULES_DATA’ has no member named ‘AIDLength’
- 302 | PyDict_SetItem(pobjOneExecuableData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *) pstOneExecuableModulesData->AID, pstOneExecuableModulesData->AIDLength));
- | ^~~~~~~~~
- src/gp_functions.cpp:29:96: note: in definition of macro ‘_PyString_FromArrayAndSize’
- 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
- | ^
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_set_status(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:331:5: note: in expansion of macro ‘ARGS_GetStruct’
- 331 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:333:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 333 | ARGS_GetBYTEArray(4, BYTE, AID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_mutual_authentication(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:348:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 348 | ARGS_GetBYTEArray(2, BYTE, BaseKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:349:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 349 | ARGS_GetBYTEArray(3, BYTE, ENCKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:350:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 350 | ARGS_GetBYTEArray(4, BYTE, MACKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:351:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 351 | ARGS_GetBYTEArray(5, BYTE, DEKKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:362:243: error: invalid conversion from ‘GP211_SECURITY_INFO*’ to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
- 362 | OPGP_ERROR_STATUS errorStatus = GP211_mutual_authentication(stCardContext, stCardInfo, pBaseKey, pENCKey, pMACKey, pDEKKey, bKeySetVersion, bKeyIndex, bSecureChannelProtocol, bSecureChannelProtocolImpl, bSecurityLevel, bDerivationMethod, &stGP211SecurityInfo);
- | ^~~~~~~~~~~~~~~~~~~~
- | |
- | GP211_SECURITY_INFO*
- src/gp_functions.cpp:362:64: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, BYTE*, BYTE*, BYTE*, BYTE*, DWORD, BYTE, BYTE, BYTE, BYTE, BYTE, BYTE, GP211_SECURITY_INFO*)’
- 362 | OPGP_ERROR_STATUS errorStatus = GP211_mutual_authentication(stCardContext, stCardInfo, pBaseKey, pENCKey, pMACKey, pDEKKey, bKeySetVersion, bKeyIndex, bSecureChannelProtocol, bSecureChannelProtocolImpl, bSecurityLevel, bDerivationMethod, &stGP211SecurityInfo);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:437:19: note: declared here
- 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_init_implicit_secure_channel(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:372:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 372 | ARGS_GetBYTEArray(0, BYTE, AID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:373:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 373 | ARGS_GetBYTEArray(1, BYTE, BaseKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:374:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 374 | ARGS_GetBYTEArray(2, BYTE, ENCKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:375:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 375 | ARGS_GetBYTEArray(3, BYTE, MACKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:376:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 376 | ARGS_GetBYTEArray(4, BYTE, DEKKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:403:5: note: in expansion of macro ‘ARGS_GetStruct’
- 403 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:408:30: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 408 | if (PyUnicode_GetSize(pobjIdentifier) < 2) {
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_data_iso7816_4(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:430:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 430 | ARGS_GetBYTEArray(2, BYTE, Identifier);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:480:5: note: in expansion of macro ‘ARGS_GetStruct’
- 480 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:481:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 481 | ARGS_GetBYTEArray(3, BYTE, Identifier);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:482:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 482 | ARGS_GetBYTEArray(4, BYTE, DataObject);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_pin_change(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:496:5: note: in expansion of macro ‘ARGS_GetStruct’
- 496 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:498:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 498 | ARGS_GetBYTEArray(4, BYTE, NewPIN);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_3des_key(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:512:5: note: in expansion of macro ‘ARGS_GetStruct’
- 512 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:516:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 516 | ARGS_GetBYTEArray(6, BYTE, 3DESKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_rsa_key(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:529:5: note: in expansion of macro ‘ARGS_GetStruct’
- 529 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:533:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 533 | ARGS_GetTCHARArray(6, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:534:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 534 | ARGS_GetBYTEArray(7, char, PassPhrase);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_secure_channel_keys(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:548:5: note: in expansion of macro ‘ARGS_GetStruct’
- 548 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:551:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 551 | ARGS_GetBYTEArray(5, BYTE, NewBaseKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:552:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 552 | ARGS_GetBYTEArray(6, BYTE, NewENCKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:553:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 553 | ARGS_GetBYTEArray(7, BYTE, NewMACKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:554:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 554 | ARGS_GetBYTEArray(8, BYTE, NewDEKKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:556:66: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_put_secure_channel_keys(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, GP211_SECURITY_INFO*, BYTE, BYTE, BYTE*, BYTE*, BYTE*, BYTE*, DWORD)’
- 556 | OPGP_ERROR_STATUS errorStatus = GP211_put_secure_channel_keys(stCardContext, stCardInfo, pstSecurityInfo, bKeySetVersion, bNewKeySetVersion, pNewBaseKey, pNewENCKey, pNewMACKey, pNewDEKKey);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:510:19: note: declared here
- 510 | OPGP_ERROR_STATUS GP211_put_secure_channel_keys(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_delete_key(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:568:5: note: in expansion of macro ‘ARGS_GetStruct’
- 568 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_key_information_templates(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:584:5: note: in expansion of macro ‘ARGS_GetStruct’
- 584 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_delete_application(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:601:5: note: in expansion of macro ‘ARGS_GetStruct’
- 601 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:615:33: note: in expansion of macro ‘_PyArray_GetSize’
- 615 | BYTE bAidLength = (BYTE)_PyArray_GetSize(pobjAID);
- | ^~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_load(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:635:5: note: in expansion of macro ‘ARGS_GetStruct’
- 635 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:636:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 636 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:637:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 637 | ARGS_GetBYTEArray(4, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:638:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 638 | ARGS_GetBYTEArray(5, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:639:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 639 | ARGS_GetBYTEArray(6, BYTE, LoadToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_extradition_token_signature_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:655:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 655 | ARGS_GetBYTEArray(0, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:656:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 656 | ARGS_GetBYTEArray(1, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_load_token_signature_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:670:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 670 | ARGS_GetBYTEArray(0, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:671:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 671 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:672:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 672 | ARGS_GetBYTEArray(2, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_install_token_signature_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:690:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 690 | ARGS_GetBYTEArray(1, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:691:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 691 | ARGS_GetBYTEArray(2, BYTE, ExecutableModuleAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:692:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 692 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:696:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 696 | ARGS_GetBYTEArray(7, BYTE, InstallParameters);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_load_token(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:710:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 710 | ARGS_GetBYTEArray(0, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:711:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 711 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:712:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 712 | ARGS_GetBYTEArray(2, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:716:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 716 | ARGS_GetTCHARArray(6, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:717:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 717 | ARGS_GetBYTEArray(7, char, PassPhrase);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_install_token(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:731:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 731 | ARGS_GetBYTEArray(1, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:732:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 732 | ARGS_GetBYTEArray(2, BYTE, ExecutableModuleAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:733:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 733 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:737:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 737 | ARGS_GetBYTEArray(7, BYTE, InstallParameters);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:738:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 738 | ARGS_GetTCHARArray(8, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_load_file_data_block_hash(PyObject*, PyObject*)’:
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:757:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 757 | ARGS_GetTCHARArray(0, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:760:78: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_calculate_load_file_data_block_hash(OPGP_STRING, BYTE*, DWORD, BYTE)’
- 760 | OPGP_ERROR_STATUS errorStatus = GP211_calculate_load_file_data_block_hash((OPGP_STRING)pPEMKeyFileName, baHash);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:614:19: note: declared here
- 614 | OPGP_ERROR_STATUS GP211_calculate_load_file_data_block_hash(OPGP_STRING executableLoadFileName,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_load(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:774:5: note: in expansion of macro ‘ARGS_GetStruct’
- 774 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:775:5: note: in expansion of macro ‘ARGS_GetStruct’
- 775 | ARGS_GetStruct(3, GP211_DAP_BLOCK, DapBlock);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:776:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 776 | ARGS_GetTCHARArray(4, ExecutableLoadFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_load_from_buffer(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:796:5: note: in expansion of macro ‘ARGS_GetStruct’
- 796 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:797:5: note: in expansion of macro ‘ARGS_GetStruct’
- 797 | ARGS_GetStruct(3, GP211_DAP_BLOCK, DapBlock);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:798:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 798 | ARGS_GetBYTEArray(4, BYTE, LoadFileBuf);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_install(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:817:5: note: in expansion of macro ‘ARGS_GetStruct’
- 817 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:818:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 818 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:819:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 819 | ARGS_GetBYTEArray(4, BYTE, ExecutableModuleAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:820:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 820 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:824:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 824 | ARGS_GetBYTEArray(9, BYTE, InstallParameters);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:825:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 825 | ARGS_GetBYTEArray(10, BYTE, InstallToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_make_selectable(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:844:5: note: in expansion of macro ‘ARGS_GetStruct’
- 844 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:845:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 845 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:847:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 847 | ARGS_GetBYTEArray(5, BYTE, InstallToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_install_and_make_selectable(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:866:5: note: in expansion of macro ‘ARGS_GetStruct’
- 866 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:867:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 867 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:868:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 868 | ARGS_GetBYTEArray(4, BYTE, ExecutableModuleAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:869:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 869 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:873:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 873 | ARGS_GetBYTEArray(9, BYTE, InstallParameters);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:874:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 874 | ARGS_GetBYTEArray(10, BYTE, InstallToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_personalization(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:894:5: note: in expansion of macro ‘ARGS_GetStruct’
- 894 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:895:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 895 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_extradition(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:909:5: note: in expansion of macro ‘ARGS_GetStruct’
- 909 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:910:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 910 | ARGS_GetBYTEArray(3, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:911:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 911 | ARGS_GetBYTEArray(4, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:912:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 912 | ARGS_GetBYTEArray(5, BYTE, ExtrationToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_delegated_management_keys(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:931:5: note: in expansion of macro ‘ARGS_GetStruct’
- 931 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:934:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 934 | ARGS_GetTCHARArray(5, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:935:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 935 | ARGS_GetBYTEArray(6, char, PassPhrase);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:936:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 936 | ARGS_GetBYTEArray(7, BYTE, ReceiptKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:938:72: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_put_delegated_management_keys(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, GP211_SECURITY_INFO*, BYTE, BYTE, OPGP_STRING, char*, BYTE*, DWORD)’
- 938 | OPGP_ERROR_STATUS errorStatus = GP211_put_delegated_management_keys(stCardContext, stCardInfo, pstSecurityInfo, bKeySetVersion, bNewKeySetVersion, (OPGP_STRING)pPEMKeyFileName, pPassPhrase, pReceiptKey);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:697:19: note: declared here
- 697 | OPGP_ERROR_STATUS GP211_put_delegated_management_keys(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_send_APDU(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:950:5: note: in expansion of macro ‘ARGS_GetStruct’
- 950 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:951:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 951 | ARGS_GetBYTEArray(3, BYTE, CApdu);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_3des_DAP(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:965:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 965 | ARGS_GetBYTEArray(0, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:966:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 966 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:967:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 967 | ARGS_GetBYTEArray(2, BYTE, DAPCalculationKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:970:37: error: ‘GP211_calculate_3des_DAP’ was not declared in this scope; did you mean ‘pyGP211_calculate_3des_DAP’?
- 970 | OPGP_ERROR_STATUS errorStatus = GP211_calculate_3des_DAP(pLoadFileDataBlockHash, pSecurityDomainAID, dwSecurityDomainAIDLength, pDAPCalculationKey, &stLoadFileDataBlockSignature);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- | pyGP211_calculate_3des_DAP
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_rsa_DAP(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:980:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 980 | ARGS_GetBYTEArray(0, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:981:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 981 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:982:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 982 | ARGS_GetTCHARArray(2, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:983:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 983 | ARGS_GetBYTEArray(3, char, PassPhrase);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_delete_receipt(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:997:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 997 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:998:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 998 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:999:5: note: in expansion of macro ‘ARGS_GetStruct’
- 999 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1000:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1000 | ARGS_GetBYTEArray(4, BYTE, AID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1002:144: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
- 1002 | OPGP_ERROR_STATUS errorStatus = GP211_validate_delete_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pAID, dwAIDLength);
- | ^~~~~~~~~~~~~
- | |
- | GP211_RECEIPT_DATA
- /usr/local/include/globalplatform/globalplatform.h:725:79: note: initializing argument 5 of ‘OPGP_ERROR_STATUS GP211_validate_delete_receipt(DWORD, PBYTE, DWORD, BYTE*, DWORD, GP211_RECEIPT_DATA, PBYTE, DWORD, BYTE)’
- 725 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
- | ~~~~~~^~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_install_receipt(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1013:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1013 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1014:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1014 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1015:5: note: in expansion of macro ‘ARGS_GetStruct’
- 1015 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1016:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1016 | ARGS_GetBYTEArray(4, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1017:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1017 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1019:145: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
- 1019 | OPGP_ERROR_STATUS errorStatus = GP211_validate_install_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pExecutableLoadFileAID, dwExecutableLoadFileAIDLength, pApplicationAID, dwApplicationAIDLength);
- | ^~~~~~~~~~~~~
- | |
- | GP211_RECEIPT_DATA
- /usr/local/include/globalplatform/globalplatform.h:732:79: note: initializing argument 5 of ‘OPGP_ERROR_STATUS GP211_validate_install_receipt(DWORD, PBYTE, DWORD, BYTE*, DWORD, GP211_RECEIPT_DATA, PBYTE, DWORD, PBYTE, DWORD, BYTE)’
- 732 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
- | ~~~~~~^~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_load_receipt(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1030:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1030 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1031:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1031 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1032:5: note: in expansion of macro ‘ARGS_GetStruct’
- 1032 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1033:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1033 | ARGS_GetBYTEArray(4, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1034:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1034 | ARGS_GetBYTEArray(5, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1036:142: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
- 1036 | OPGP_ERROR_STATUS errorStatus = GP211_validate_load_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pExecutableLoadFileAID, dwExecutableLoadFileAIDLength, pSecurityDomainAID, dwSecurityDomainAIDLength);
- | ^~~~~~~~~~~~~
- | |
- | GP211_RECEIPT_DATA
- /usr/local/include/globalplatform/globalplatform.h:740:79: note: initializing argument 5 of ‘OPGP_ERROR_STATUS GP211_validate_load_receipt(DWORD, PBYTE, DWORD, BYTE*, DWORD, GP211_RECEIPT_DATA, PBYTE, DWORD, PBYTE, DWORD, BYTE)’
- 740 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
- | ~~~~~~^~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyOPGP_manage_channel(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1076:5: note: in expansion of macro ‘ARGS_GetStruct’
- 1076 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_store_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1106:5: note: in expansion of macro ‘ARGS_GetStruct’
- 1106 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1107:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1107 | ARGS_GetBYTEArray(3, BYTE, Data);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1109:98: error: invalid conversion from ‘BYTE*’ {aka ‘unsigned char*’} to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
- 1109 | OPGP_ERROR_STATUS errorStatus = GP211_store_data(stCardContext, stCardInfo, pstSecurityInfo, pData, dwDataLength);
- | ^~~~~
- | |
- | BYTE* {aka unsigned char*}
- src/gp_functions.cpp:1109:53: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_store_data(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, GP211_SECURITY_INFO*, BYTE, BYTE, BOOL, PBYTE, DWORD)’
- 1109 | OPGP_ERROR_STATUS errorStatus = GP211_store_data(stCardContext, stCardInfo, pstSecurityInfo, pData, dwDataLength);
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:774:19: note: declared here
- 774 | OPGP_ERROR_STATUS GP211_store_data(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyOPGP_read_executable_load_file_parameters(PyObject*, PyObject*)’:
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1131:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 1131 | ARGS_GetTCHARArray(0, LoadFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- error: command '/usr/bin/gcc' failed with exit code 1
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- ERROR: Failed building wheel for pyglobalplatform
- error: subprocess-exited-with-error
- × Running setup.py install for pyglobalplatform did not run successfully.
- │ exit code: 1
- ╰─> [1479 lines of output]
- running install
- /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
- warnings.warn(
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-3.10
- creating build/lib.linux-x86_64-3.10/pyGlobalPlatform
- copying pyGlobalPlatform/__init__.py -> build/lib.linux-x86_64-3.10/pyGlobalPlatform
- copying pyGlobalPlatform/globalplatformlib.py -> build/lib.linux-x86_64-3.10/pyGlobalPlatform
- running build_ext
- building 'pyGlobalPlatform.pyGlobalPlatform' extension
- creating build/temp.linux-x86_64-3.10
- creating build/temp.linux-x86_64-3.10/src
- gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/PCSC -I/usr/include/python3.10 -c src/gp_functions.cpp -o build/temp.linux-x86_64-3.10/src/gp_functions.o
- src/gp_functions.cpp: In function ‘PyObject* connectCard(PyObject*, PyObject*)’:
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:223:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 223 | ARGS_GetTCHARArray(1, ReaderName);
- | ^~~~~~~~~~~~~~~~~~
- In file included from /usr/include/python3.10/Python.h:83,
- from src/gp_functions.h:4,
- from src/gp_functions.cpp:1:
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:101:15: warning: variable ‘dwReaderNameLength’ set but not used [-Wunused-but-set-variable]
- 101 | DWORD dw##n##Length = 0; \
- | ^~
- src/gp_functions.cpp:223:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 223 | ARGS_GetTCHARArray(1, ReaderName);
- | ^~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyOPGP_select_application(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:256:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 256 | ARGS_GetBYTEArray(2, BYTE, AID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_status(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:270:5: note: in expansion of macro ‘ARGS_GetStruct’
- 270 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:278:112: error: invalid conversion from ‘GP211_APPLICATION_DATA*’ to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
- 278 | OPGP_ERROR_STATUS errorStatus = GP211_get_status(stCardContext, stCardInfo, pstSecurityInfo, bCardElement, astAppletData, astExecutableData, &dwDataCount);
- | ^~~~~~~~~~~~~
- | |
- | GP211_APPLICATION_DATA*
- src/gp_functions.cpp:278:127: error: cannot convert ‘GP211_EXECUTABLE_MODULES_DATA*’ to ‘GP211_APPLICATION_DATA*’
- 278 | OPGP_ERROR_STATUS errorStatus = GP211_get_status(stCardContext, stCardInfo, pstSecurityInfo, bCardElement, astAppletData, astExecutableData, &dwDataCount);
- | ^~~~~~~~~~~~~~~~~
- | |
- | GP211_EXECUTABLE_MODULES_DATA*
- In file included from src/gp_functions.cpp:13:
- /usr/local/include/globalplatform/globalplatform.h:428:88: note: initializing argument 6 of ‘OPGP_ERROR_STATUS GP211_get_status(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, GP211_SECURITY_INFO*, BYTE, BYTE, GP211_APPLICATION_DATA*, GP211_EXECUTABLE_MODULES_DATA*, PDWORD)’
- 428 | BYTE cardElement, BYTE format, GP211_APPLICATION_DATA *applData,
- | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
- src/gp_functions.cpp:286:135: error: ‘struct GP211_APPLICATION_DATA’ has no member named ‘AID’
- 286 | PyDict_SetItem(pobjOneAppletData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *)pstOneAppletData->AID, pstOneAppletData->AIDLength));
- | ^~~
- src/gp_functions.cpp:29:93: note: in definition of macro ‘_PyString_FromArrayAndSize’
- 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
- | ^
- src/gp_functions.cpp:286:158: error: ‘struct GP211_APPLICATION_DATA’ has no member named ‘AIDLength’
- 286 | PyDict_SetItem(pobjOneAppletData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *)pstOneAppletData->AID, pstOneAppletData->AIDLength));
- | ^~~~~~~~~
- src/gp_functions.cpp:29:96: note: in definition of macro ‘_PyString_FromArrayAndSize’
- 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
- | ^
- src/gp_functions.cpp:302:149: error: ‘struct GP211_EXECUTABLE_MODULES_DATA’ has no member named ‘AID’
- 302 | PyDict_SetItem(pobjOneExecuableData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *) pstOneExecuableModulesData->AID, pstOneExecuableModulesData->AIDLength));
- | ^~~
- src/gp_functions.cpp:29:93: note: in definition of macro ‘_PyString_FromArrayAndSize’
- 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
- | ^
- src/gp_functions.cpp:302:182: error: ‘struct GP211_EXECUTABLE_MODULES_DATA’ has no member named ‘AIDLength’
- 302 | PyDict_SetItem(pobjOneExecuableData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *) pstOneExecuableModulesData->AID, pstOneExecuableModulesData->AIDLength));
- | ^~~~~~~~~
- src/gp_functions.cpp:29:96: note: in definition of macro ‘_PyString_FromArrayAndSize’
- 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
- | ^
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_set_status(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:331:5: note: in expansion of macro ‘ARGS_GetStruct’
- 331 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:333:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 333 | ARGS_GetBYTEArray(4, BYTE, AID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_mutual_authentication(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:348:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 348 | ARGS_GetBYTEArray(2, BYTE, BaseKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:349:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 349 | ARGS_GetBYTEArray(3, BYTE, ENCKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:350:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 350 | ARGS_GetBYTEArray(4, BYTE, MACKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:351:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 351 | ARGS_GetBYTEArray(5, BYTE, DEKKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:362:243: error: invalid conversion from ‘GP211_SECURITY_INFO*’ to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
- 362 | OPGP_ERROR_STATUS errorStatus = GP211_mutual_authentication(stCardContext, stCardInfo, pBaseKey, pENCKey, pMACKey, pDEKKey, bKeySetVersion, bKeyIndex, bSecureChannelProtocol, bSecureChannelProtocolImpl, bSecurityLevel, bDerivationMethod, &stGP211SecurityInfo);
- | ^~~~~~~~~~~~~~~~~~~~
- | |
- | GP211_SECURITY_INFO*
- src/gp_functions.cpp:362:64: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, BYTE*, BYTE*, BYTE*, BYTE*, DWORD, BYTE, BYTE, BYTE, BYTE, BYTE, BYTE, GP211_SECURITY_INFO*)’
- 362 | OPGP_ERROR_STATUS errorStatus = GP211_mutual_authentication(stCardContext, stCardInfo, pBaseKey, pENCKey, pMACKey, pDEKKey, bKeySetVersion, bKeyIndex, bSecureChannelProtocol, bSecureChannelProtocolImpl, bSecurityLevel, bDerivationMethod, &stGP211SecurityInfo);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:437:19: note: declared here
- 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_init_implicit_secure_channel(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:372:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 372 | ARGS_GetBYTEArray(0, BYTE, AID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:373:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 373 | ARGS_GetBYTEArray(1, BYTE, BaseKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:374:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 374 | ARGS_GetBYTEArray(2, BYTE, ENCKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:375:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 375 | ARGS_GetBYTEArray(3, BYTE, MACKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:376:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 376 | ARGS_GetBYTEArray(4, BYTE, DEKKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:403:5: note: in expansion of macro ‘ARGS_GetStruct’
- 403 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:408:30: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 408 | if (PyUnicode_GetSize(pobjIdentifier) < 2) {
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_data_iso7816_4(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:430:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 430 | ARGS_GetBYTEArray(2, BYTE, Identifier);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:480:5: note: in expansion of macro ‘ARGS_GetStruct’
- 480 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:481:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 481 | ARGS_GetBYTEArray(3, BYTE, Identifier);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:482:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 482 | ARGS_GetBYTEArray(4, BYTE, DataObject);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_pin_change(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:496:5: note: in expansion of macro ‘ARGS_GetStruct’
- 496 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:498:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 498 | ARGS_GetBYTEArray(4, BYTE, NewPIN);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_3des_key(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:512:5: note: in expansion of macro ‘ARGS_GetStruct’
- 512 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:516:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 516 | ARGS_GetBYTEArray(6, BYTE, 3DESKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_rsa_key(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:529:5: note: in expansion of macro ‘ARGS_GetStruct’
- 529 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:533:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 533 | ARGS_GetTCHARArray(6, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:534:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 534 | ARGS_GetBYTEArray(7, char, PassPhrase);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_secure_channel_keys(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:548:5: note: in expansion of macro ‘ARGS_GetStruct’
- 548 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:551:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 551 | ARGS_GetBYTEArray(5, BYTE, NewBaseKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:552:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 552 | ARGS_GetBYTEArray(6, BYTE, NewENCKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:553:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 553 | ARGS_GetBYTEArray(7, BYTE, NewMACKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:554:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 554 | ARGS_GetBYTEArray(8, BYTE, NewDEKKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:556:66: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_put_secure_channel_keys(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, GP211_SECURITY_INFO*, BYTE, BYTE, BYTE*, BYTE*, BYTE*, BYTE*, DWORD)’
- 556 | OPGP_ERROR_STATUS errorStatus = GP211_put_secure_channel_keys(stCardContext, stCardInfo, pstSecurityInfo, bKeySetVersion, bNewKeySetVersion, pNewBaseKey, pNewENCKey, pNewMACKey, pNewDEKKey);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:510:19: note: declared here
- 510 | OPGP_ERROR_STATUS GP211_put_secure_channel_keys(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_delete_key(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:568:5: note: in expansion of macro ‘ARGS_GetStruct’
- 568 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_key_information_templates(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:584:5: note: in expansion of macro ‘ARGS_GetStruct’
- 584 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_delete_application(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:601:5: note: in expansion of macro ‘ARGS_GetStruct’
- 601 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:615:33: note: in expansion of macro ‘_PyArray_GetSize’
- 615 | BYTE bAidLength = (BYTE)_PyArray_GetSize(pobjAID);
- | ^~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_load(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:635:5: note: in expansion of macro ‘ARGS_GetStruct’
- 635 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:636:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 636 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:637:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 637 | ARGS_GetBYTEArray(4, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:638:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 638 | ARGS_GetBYTEArray(5, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:639:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 639 | ARGS_GetBYTEArray(6, BYTE, LoadToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_extradition_token_signature_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:655:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 655 | ARGS_GetBYTEArray(0, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:656:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 656 | ARGS_GetBYTEArray(1, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_load_token_signature_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:670:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 670 | ARGS_GetBYTEArray(0, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:671:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 671 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:672:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 672 | ARGS_GetBYTEArray(2, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_install_token_signature_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:690:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 690 | ARGS_GetBYTEArray(1, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:691:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 691 | ARGS_GetBYTEArray(2, BYTE, ExecutableModuleAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:692:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 692 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:696:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 696 | ARGS_GetBYTEArray(7, BYTE, InstallParameters);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_load_token(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:710:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 710 | ARGS_GetBYTEArray(0, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:711:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 711 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:712:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 712 | ARGS_GetBYTEArray(2, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:716:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 716 | ARGS_GetTCHARArray(6, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:717:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 717 | ARGS_GetBYTEArray(7, char, PassPhrase);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_install_token(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:731:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 731 | ARGS_GetBYTEArray(1, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:732:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 732 | ARGS_GetBYTEArray(2, BYTE, ExecutableModuleAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:733:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 733 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:737:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 737 | ARGS_GetBYTEArray(7, BYTE, InstallParameters);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:738:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 738 | ARGS_GetTCHARArray(8, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_load_file_data_block_hash(PyObject*, PyObject*)’:
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:757:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 757 | ARGS_GetTCHARArray(0, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:760:78: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_calculate_load_file_data_block_hash(OPGP_STRING, BYTE*, DWORD, BYTE)’
- 760 | OPGP_ERROR_STATUS errorStatus = GP211_calculate_load_file_data_block_hash((OPGP_STRING)pPEMKeyFileName, baHash);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:614:19: note: declared here
- 614 | OPGP_ERROR_STATUS GP211_calculate_load_file_data_block_hash(OPGP_STRING executableLoadFileName,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_load(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:774:5: note: in expansion of macro ‘ARGS_GetStruct’
- 774 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:775:5: note: in expansion of macro ‘ARGS_GetStruct’
- 775 | ARGS_GetStruct(3, GP211_DAP_BLOCK, DapBlock);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:776:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 776 | ARGS_GetTCHARArray(4, ExecutableLoadFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_load_from_buffer(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:796:5: note: in expansion of macro ‘ARGS_GetStruct’
- 796 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:797:5: note: in expansion of macro ‘ARGS_GetStruct’
- 797 | ARGS_GetStruct(3, GP211_DAP_BLOCK, DapBlock);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:798:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 798 | ARGS_GetBYTEArray(4, BYTE, LoadFileBuf);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_install(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:817:5: note: in expansion of macro ‘ARGS_GetStruct’
- 817 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:818:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 818 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:819:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 819 | ARGS_GetBYTEArray(4, BYTE, ExecutableModuleAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:820:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 820 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:824:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 824 | ARGS_GetBYTEArray(9, BYTE, InstallParameters);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:825:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 825 | ARGS_GetBYTEArray(10, BYTE, InstallToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_make_selectable(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:844:5: note: in expansion of macro ‘ARGS_GetStruct’
- 844 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:845:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 845 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:847:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 847 | ARGS_GetBYTEArray(5, BYTE, InstallToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_install_and_make_selectable(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:866:5: note: in expansion of macro ‘ARGS_GetStruct’
- 866 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:867:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 867 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:868:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 868 | ARGS_GetBYTEArray(4, BYTE, ExecutableModuleAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:869:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 869 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:873:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 873 | ARGS_GetBYTEArray(9, BYTE, InstallParameters);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:874:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 874 | ARGS_GetBYTEArray(10, BYTE, InstallToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_personalization(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:894:5: note: in expansion of macro ‘ARGS_GetStruct’
- 894 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:895:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 895 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_extradition(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:909:5: note: in expansion of macro ‘ARGS_GetStruct’
- 909 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:910:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 910 | ARGS_GetBYTEArray(3, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:911:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 911 | ARGS_GetBYTEArray(4, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:912:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 912 | ARGS_GetBYTEArray(5, BYTE, ExtrationToken);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_delegated_management_keys(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:931:5: note: in expansion of macro ‘ARGS_GetStruct’
- 931 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:934:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 934 | ARGS_GetTCHARArray(5, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:935:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 935 | ARGS_GetBYTEArray(6, char, PassPhrase);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:936:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 936 | ARGS_GetBYTEArray(7, BYTE, ReceiptKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:938:72: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_put_delegated_management_keys(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, GP211_SECURITY_INFO*, BYTE, BYTE, OPGP_STRING, char*, BYTE*, DWORD)’
- 938 | OPGP_ERROR_STATUS errorStatus = GP211_put_delegated_management_keys(stCardContext, stCardInfo, pstSecurityInfo, bKeySetVersion, bNewKeySetVersion, (OPGP_STRING)pPEMKeyFileName, pPassPhrase, pReceiptKey);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:697:19: note: declared here
- 697 | OPGP_ERROR_STATUS GP211_put_delegated_management_keys(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_send_APDU(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:950:5: note: in expansion of macro ‘ARGS_GetStruct’
- 950 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:951:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 951 | ARGS_GetBYTEArray(3, BYTE, CApdu);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_3des_DAP(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:965:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 965 | ARGS_GetBYTEArray(0, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:966:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 966 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:967:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 967 | ARGS_GetBYTEArray(2, BYTE, DAPCalculationKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:970:37: error: ‘GP211_calculate_3des_DAP’ was not declared in this scope; did you mean ‘pyGP211_calculate_3des_DAP’?
- 970 | OPGP_ERROR_STATUS errorStatus = GP211_calculate_3des_DAP(pLoadFileDataBlockHash, pSecurityDomainAID, dwSecurityDomainAIDLength, pDAPCalculationKey, &stLoadFileDataBlockSignature);
- | ^~~~~~~~~~~~~~~~~~~~~~~~
- | pyGP211_calculate_3des_DAP
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_rsa_DAP(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:980:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 980 | ARGS_GetBYTEArray(0, BYTE, LoadFileDataBlockHash);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:981:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 981 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:982:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 982 | ARGS_GetTCHARArray(2, PEMKeyFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:983:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 983 | ARGS_GetBYTEArray(3, char, PassPhrase);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_delete_receipt(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:997:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 997 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:998:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 998 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:999:5: note: in expansion of macro ‘ARGS_GetStruct’
- 999 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1000:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1000 | ARGS_GetBYTEArray(4, BYTE, AID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1002:144: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
- 1002 | OPGP_ERROR_STATUS errorStatus = GP211_validate_delete_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pAID, dwAIDLength);
- | ^~~~~~~~~~~~~
- | |
- | GP211_RECEIPT_DATA
- /usr/local/include/globalplatform/globalplatform.h:725:79: note: initializing argument 5 of ‘OPGP_ERROR_STATUS GP211_validate_delete_receipt(DWORD, PBYTE, DWORD, BYTE*, DWORD, GP211_RECEIPT_DATA, PBYTE, DWORD, BYTE)’
- 725 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
- | ~~~~~~^~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_install_receipt(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1013:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1013 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1014:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1014 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1015:5: note: in expansion of macro ‘ARGS_GetStruct’
- 1015 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1016:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1016 | ARGS_GetBYTEArray(4, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1017:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1017 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1019:145: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
- 1019 | OPGP_ERROR_STATUS errorStatus = GP211_validate_install_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pExecutableLoadFileAID, dwExecutableLoadFileAIDLength, pApplicationAID, dwApplicationAIDLength);
- | ^~~~~~~~~~~~~
- | |
- | GP211_RECEIPT_DATA
- /usr/local/include/globalplatform/globalplatform.h:732:79: note: initializing argument 5 of ‘OPGP_ERROR_STATUS GP211_validate_install_receipt(DWORD, PBYTE, DWORD, BYTE*, DWORD, GP211_RECEIPT_DATA, PBYTE, DWORD, PBYTE, DWORD, BYTE)’
- 732 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
- | ~~~~~~^~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_load_receipt(PyObject*, PyObject*)’:
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1030:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1030 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1031:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1031 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1032:5: note: in expansion of macro ‘ARGS_GetStruct’
- 1032 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1033:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1033 | ARGS_GetBYTEArray(4, BYTE, ExecutableLoadFileAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1034:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1034 | ARGS_GetBYTEArray(5, BYTE, SecurityDomainAID);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1036:142: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
- 1036 | OPGP_ERROR_STATUS errorStatus = GP211_validate_load_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pExecutableLoadFileAID, dwExecutableLoadFileAIDLength, pSecurityDomainAID, dwSecurityDomainAIDLength);
- | ^~~~~~~~~~~~~
- | |
- | GP211_RECEIPT_DATA
- /usr/local/include/globalplatform/globalplatform.h:740:79: note: initializing argument 5 of ‘OPGP_ERROR_STATUS GP211_validate_load_receipt(DWORD, PBYTE, DWORD, BYTE*, DWORD, GP211_RECEIPT_DATA, PBYTE, DWORD, PBYTE, DWORD, BYTE)’
- 740 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
- | ~~~~~~^~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyOPGP_manage_channel(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1076:5: note: in expansion of macro ‘ARGS_GetStruct’
- 1076 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyGP211_store_data(PyObject*, PyObject*)’:
- src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1106:5: note: in expansion of macro ‘ARGS_GetStruct’
- 1106 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
- | ^~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
- | ~~~~~~~~~~~~~~~~~^~~
- src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
- 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1107:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
- 1107 | ARGS_GetBYTEArray(3, BYTE, Data);
- | ^~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- src/gp_functions.cpp:1109:98: error: invalid conversion from ‘BYTE*’ {aka ‘unsigned char*’} to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
- 1109 | OPGP_ERROR_STATUS errorStatus = GP211_store_data(stCardContext, stCardInfo, pstSecurityInfo, pData, dwDataLength);
- | ^~~~~
- | |
- | BYTE* {aka unsigned char*}
- src/gp_functions.cpp:1109:53: error: too few arguments to function ‘OPGP_ERROR_STATUS GP211_store_data(OPGP_CARD_CONTEXT, OPGP_CARD_INFO, GP211_SECURITY_INFO*, BYTE, BYTE, BOOL, PBYTE, DWORD)’
- 1109 | OPGP_ERROR_STATUS errorStatus = GP211_store_data(stCardContext, stCardInfo, pstSecurityInfo, pData, dwDataLength);
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/local/include/globalplatform/globalplatform.h:774:19: note: declared here
- 774 | OPGP_ERROR_STATUS GP211_store_data(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
- | ^~~~~~~~~~~~~~~~
- src/gp_functions.cpp: In function ‘PyObject* pyOPGP_read_executable_load_file_parameters(PyObject*, PyObject*)’:
- src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
- 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
- | ~~~~~~~~~~~~~~~~~^~~~~~~~~
- src/gp_functions.cpp:1131:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
- 1131 | ARGS_GetTCHARArray(0, LoadFileName);
- | ^~~~~~~~~~~~~~~~~~
- /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
- 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
- | ^~~~~~~~~~~~~~~~~
- error: command '/usr/bin/gcc' failed with exit code 1
- [end of output]
- note: This error originates from a subprocess, and is likely not a problem with pip.
- error: legacy-install-failure
- × Encountered error while trying to install package.
- ╰─> pyglobalplatform
- note: This is an issue with the package mentioned above, not pip.
- hint: See above for output from the failure.
Advertisement
Add Comment
Please, Sign In to add comment