Guest User

pyglobalplatform build error

a guest
Sep 21st, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 243.38 KB | None | 0 0
  1. error: subprocess-exited-with-error
  2.  
  3. × python setup.py bdist_wheel did not run successfully.
  4. │ exit code: 1
  5. ╰─> [1477 lines of output]
  6. running bdist_wheel
  7. running build
  8. running build_py
  9. creating build
  10. creating build/lib.linux-x86_64-3.10
  11. creating build/lib.linux-x86_64-3.10/pyGlobalPlatform
  12. copying pyGlobalPlatform/__init__.py -> build/lib.linux-x86_64-3.10/pyGlobalPlatform
  13. copying pyGlobalPlatform/globalplatformlib.py -> build/lib.linux-x86_64-3.10/pyGlobalPlatform
  14. running build_ext
  15. building 'pyGlobalPlatform.pyGlobalPlatform' extension
  16. creating build/temp.linux-x86_64-3.10
  17. creating build/temp.linux-x86_64-3.10/src
  18. 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
  19. src/gp_functions.cpp: In function ‘PyObject* connectCard(PyObject*, PyObject*)’:
  20. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  21. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  22. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  23. src/gp_functions.cpp:223:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  24. 223 | ARGS_GetTCHARArray(1, ReaderName);
  25. | ^~~~~~~~~~~~~~~~~~
  26. In file included from /usr/include/python3.10/Python.h:83,
  27. from src/gp_functions.h:4,
  28. from src/gp_functions.cpp:1:
  29. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  30. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  31. | ^~~~~~~~~~~~~~~~~
  32. src/gp_functions.cpp:101:15: warning: variable ‘dwReaderNameLength’ set but not used [-Wunused-but-set-variable]
  33. 101 | DWORD dw##n##Length = 0; \
  34. | ^~
  35. src/gp_functions.cpp:223:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  36. 223 | ARGS_GetTCHARArray(1, ReaderName);
  37. | ^~~~~~~~~~~~~~~~~~
  38. src/gp_functions.cpp: In function ‘PyObject* pyOPGP_select_application(PyObject*, PyObject*)’:
  39. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  40. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  41. | ~~~~~~~~~~~~~~~~~^~~
  42. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  43. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  44. | ^~~~~~~~~~~~~~~~
  45. src/gp_functions.cpp:256:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  46. 256 | ARGS_GetBYTEArray(2, BYTE, AID);
  47. | ^~~~~~~~~~~~~~~~~
  48. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  49. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  50. | ^~~~~~~~~~~~~~~~~
  51. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_status(PyObject*, PyObject*)’:
  52. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  53. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  54. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  55. src/gp_functions.cpp:270:5: note: in expansion of macro ‘ARGS_GetStruct’
  56. 270 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  57. | ^~~~~~~~~~~~~~
  58. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  59. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  60. | ^~~~~~~~~~~~~~~~~
  61. src/gp_functions.cpp:278:112: error: invalid conversion from ‘GP211_APPLICATION_DATA*’ to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
  62. 278 | OPGP_ERROR_STATUS errorStatus = GP211_get_status(stCardContext, stCardInfo, pstSecurityInfo, bCardElement, astAppletData, astExecutableData, &dwDataCount);
  63. | ^~~~~~~~~~~~~
  64. | |
  65. | GP211_APPLICATION_DATA*
  66. src/gp_functions.cpp:278:127: error: cannot convert ‘GP211_EXECUTABLE_MODULES_DATA*’ to ‘GP211_APPLICATION_DATA*’
  67. 278 | OPGP_ERROR_STATUS errorStatus = GP211_get_status(stCardContext, stCardInfo, pstSecurityInfo, bCardElement, astAppletData, astExecutableData, &dwDataCount);
  68. | ^~~~~~~~~~~~~~~~~
  69. | |
  70. | GP211_EXECUTABLE_MODULES_DATA*
  71. In file included from src/gp_functions.cpp:13:
  72. /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)’
  73. 428 | BYTE cardElement, BYTE format, GP211_APPLICATION_DATA *applData,
  74. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
  75. src/gp_functions.cpp:286:135: error: ‘struct GP211_APPLICATION_DATA’ has no member named ‘AID’
  76. 286 | PyDict_SetItem(pobjOneAppletData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *)pstOneAppletData->AID, pstOneAppletData->AIDLength));
  77. | ^~~
  78. src/gp_functions.cpp:29:93: note: in definition of macro ‘_PyString_FromArrayAndSize’
  79. 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
  80. | ^
  81. src/gp_functions.cpp:286:158: error: ‘struct GP211_APPLICATION_DATA’ has no member named ‘AIDLength’
  82. 286 | PyDict_SetItem(pobjOneAppletData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *)pstOneAppletData->AID, pstOneAppletData->AIDLength));
  83. | ^~~~~~~~~
  84. src/gp_functions.cpp:29:96: note: in definition of macro ‘_PyString_FromArrayAndSize’
  85. 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
  86. | ^
  87. src/gp_functions.cpp:302:149: error: ‘struct GP211_EXECUTABLE_MODULES_DATA’ has no member named ‘AID’
  88. 302 | PyDict_SetItem(pobjOneExecuableData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *) pstOneExecuableModulesData->AID, pstOneExecuableModulesData->AIDLength));
  89. | ^~~
  90. src/gp_functions.cpp:29:93: note: in definition of macro ‘_PyString_FromArrayAndSize’
  91. 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
  92. | ^
  93. src/gp_functions.cpp:302:182: error: ‘struct GP211_EXECUTABLE_MODULES_DATA’ has no member named ‘AIDLength’
  94. 302 | PyDict_SetItem(pobjOneExecuableData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *) pstOneExecuableModulesData->AID, pstOneExecuableModulesData->AIDLength));
  95. | ^~~~~~~~~
  96. src/gp_functions.cpp:29:96: note: in definition of macro ‘_PyString_FromArrayAndSize’
  97. 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
  98. | ^
  99. src/gp_functions.cpp: In function ‘PyObject* pyGP211_set_status(PyObject*, PyObject*)’:
  100. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  101. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  102. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  103. src/gp_functions.cpp:331:5: note: in expansion of macro ‘ARGS_GetStruct’
  104. 331 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  105. | ^~~~~~~~~~~~~~
  106. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  107. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  108. | ^~~~~~~~~~~~~~~~~
  109. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  110. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  111. | ~~~~~~~~~~~~~~~~~^~~
  112. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  113. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  114. | ^~~~~~~~~~~~~~~~
  115. src/gp_functions.cpp:333:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  116. 333 | ARGS_GetBYTEArray(4, BYTE, AID);
  117. | ^~~~~~~~~~~~~~~~~
  118. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  119. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  120. | ^~~~~~~~~~~~~~~~~
  121. src/gp_functions.cpp: In function ‘PyObject* pyGP211_mutual_authentication(PyObject*, PyObject*)’:
  122. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  123. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  124. | ~~~~~~~~~~~~~~~~~^~~
  125. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  126. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  127. | ^~~~~~~~~~~~~~~~
  128. src/gp_functions.cpp:348:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  129. 348 | ARGS_GetBYTEArray(2, BYTE, BaseKey);
  130. | ^~~~~~~~~~~~~~~~~
  131. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  132. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  133. | ^~~~~~~~~~~~~~~~~
  134. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  135. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  136. | ~~~~~~~~~~~~~~~~~^~~
  137. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  138. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  139. | ^~~~~~~~~~~~~~~~
  140. src/gp_functions.cpp:349:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  141. 349 | ARGS_GetBYTEArray(3, BYTE, ENCKey);
  142. | ^~~~~~~~~~~~~~~~~
  143. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  144. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  145. | ^~~~~~~~~~~~~~~~~
  146. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  147. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  148. | ~~~~~~~~~~~~~~~~~^~~
  149. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  150. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  151. | ^~~~~~~~~~~~~~~~
  152. src/gp_functions.cpp:350:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  153. 350 | ARGS_GetBYTEArray(4, BYTE, MACKey);
  154. | ^~~~~~~~~~~~~~~~~
  155. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  156. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  157. | ^~~~~~~~~~~~~~~~~
  158. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  159. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  160. | ~~~~~~~~~~~~~~~~~^~~
  161. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  162. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  163. | ^~~~~~~~~~~~~~~~
  164. src/gp_functions.cpp:351:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  165. 351 | ARGS_GetBYTEArray(5, BYTE, DEKKey);
  166. | ^~~~~~~~~~~~~~~~~
  167. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  168. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  169. | ^~~~~~~~~~~~~~~~~
  170. src/gp_functions.cpp:362:243: error: invalid conversion from ‘GP211_SECURITY_INFO*’ to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
  171. 362 | OPGP_ERROR_STATUS errorStatus = GP211_mutual_authentication(stCardContext, stCardInfo, pBaseKey, pENCKey, pMACKey, pDEKKey, bKeySetVersion, bKeyIndex, bSecureChannelProtocol, bSecureChannelProtocolImpl, bSecurityLevel, bDerivationMethod, &stGP211SecurityInfo);
  172. | ^~~~~~~~~~~~~~~~~~~~
  173. | |
  174. | GP211_SECURITY_INFO*
  175. 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*)’
  176. 362 | OPGP_ERROR_STATUS errorStatus = GP211_mutual_authentication(stCardContext, stCardInfo, pBaseKey, pENCKey, pMACKey, pDEKKey, bKeySetVersion, bKeyIndex, bSecureChannelProtocol, bSecureChannelProtocolImpl, bSecurityLevel, bDerivationMethod, &stGP211SecurityInfo);
  177. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  178. /usr/local/include/globalplatform/globalplatform.h:437:19: note: declared here
  179. 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo,
  180. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  181. src/gp_functions.cpp: In function ‘PyObject* pyGP211_init_implicit_secure_channel(PyObject*, PyObject*)’:
  182. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  183. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  184. | ~~~~~~~~~~~~~~~~~^~~
  185. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  186. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  187. | ^~~~~~~~~~~~~~~~
  188. src/gp_functions.cpp:372:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  189. 372 | ARGS_GetBYTEArray(0, BYTE, AID);
  190. | ^~~~~~~~~~~~~~~~~
  191. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  192. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  193. | ^~~~~~~~~~~~~~~~~
  194. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  195. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  196. | ~~~~~~~~~~~~~~~~~^~~
  197. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  198. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  199. | ^~~~~~~~~~~~~~~~
  200. src/gp_functions.cpp:373:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  201. 373 | ARGS_GetBYTEArray(1, BYTE, BaseKey);
  202. | ^~~~~~~~~~~~~~~~~
  203. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  204. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  205. | ^~~~~~~~~~~~~~~~~
  206. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  207. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  208. | ~~~~~~~~~~~~~~~~~^~~
  209. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  210. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  211. | ^~~~~~~~~~~~~~~~
  212. src/gp_functions.cpp:374:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  213. 374 | ARGS_GetBYTEArray(2, BYTE, ENCKey);
  214. | ^~~~~~~~~~~~~~~~~
  215. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  216. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  217. | ^~~~~~~~~~~~~~~~~
  218. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  219. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  220. | ~~~~~~~~~~~~~~~~~^~~
  221. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  222. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  223. | ^~~~~~~~~~~~~~~~
  224. src/gp_functions.cpp:375:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  225. 375 | ARGS_GetBYTEArray(3, BYTE, MACKey);
  226. | ^~~~~~~~~~~~~~~~~
  227. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  228. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  229. | ^~~~~~~~~~~~~~~~~
  230. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  231. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  232. | ~~~~~~~~~~~~~~~~~^~~
  233. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  234. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  235. | ^~~~~~~~~~~~~~~~
  236. src/gp_functions.cpp:376:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  237. 376 | ARGS_GetBYTEArray(4, BYTE, DEKKey);
  238. | ^~~~~~~~~~~~~~~~~
  239. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  240. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  241. | ^~~~~~~~~~~~~~~~~
  242. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_data(PyObject*, PyObject*)’:
  243. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  244. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  245. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  246. src/gp_functions.cpp:403:5: note: in expansion of macro ‘ARGS_GetStruct’
  247. 403 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  248. | ^~~~~~~~~~~~~~
  249. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  250. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  251. | ^~~~~~~~~~~~~~~~~
  252. src/gp_functions.cpp:408:30: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  253. 408 | if (PyUnicode_GetSize(pobjIdentifier) < 2) {
  254. | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  255. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  256. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  257. | ^~~~~~~~~~~~~~~~~
  258. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_data_iso7816_4(PyObject*, PyObject*)’:
  259. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  260. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  261. | ~~~~~~~~~~~~~~~~~^~~
  262. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  263. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  264. | ^~~~~~~~~~~~~~~~
  265. src/gp_functions.cpp:430:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  266. 430 | ARGS_GetBYTEArray(2, BYTE, Identifier);
  267. | ^~~~~~~~~~~~~~~~~
  268. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  269. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  270. | ^~~~~~~~~~~~~~~~~
  271. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_data(PyObject*, PyObject*)’:
  272. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  273. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  274. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  275. src/gp_functions.cpp:480:5: note: in expansion of macro ‘ARGS_GetStruct’
  276. 480 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  277. | ^~~~~~~~~~~~~~
  278. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  279. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  280. | ^~~~~~~~~~~~~~~~~
  281. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  282. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  283. | ~~~~~~~~~~~~~~~~~^~~
  284. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  285. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  286. | ^~~~~~~~~~~~~~~~
  287. src/gp_functions.cpp:481:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  288. 481 | ARGS_GetBYTEArray(3, BYTE, Identifier);
  289. | ^~~~~~~~~~~~~~~~~
  290. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  291. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  292. | ^~~~~~~~~~~~~~~~~
  293. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  294. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  295. | ~~~~~~~~~~~~~~~~~^~~
  296. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  297. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  298. | ^~~~~~~~~~~~~~~~
  299. src/gp_functions.cpp:482:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  300. 482 | ARGS_GetBYTEArray(4, BYTE, DataObject);
  301. | ^~~~~~~~~~~~~~~~~
  302. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  303. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  304. | ^~~~~~~~~~~~~~~~~
  305. src/gp_functions.cpp: In function ‘PyObject* pyGP211_pin_change(PyObject*, PyObject*)’:
  306. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  307. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  308. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  309. src/gp_functions.cpp:496:5: note: in expansion of macro ‘ARGS_GetStruct’
  310. 496 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  311. | ^~~~~~~~~~~~~~
  312. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  313. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  314. | ^~~~~~~~~~~~~~~~~
  315. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  316. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  317. | ~~~~~~~~~~~~~~~~~^~~
  318. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  319. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  320. | ^~~~~~~~~~~~~~~~
  321. src/gp_functions.cpp:498:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  322. 498 | ARGS_GetBYTEArray(4, BYTE, NewPIN);
  323. | ^~~~~~~~~~~~~~~~~
  324. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  325. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  326. | ^~~~~~~~~~~~~~~~~
  327. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_3des_key(PyObject*, PyObject*)’:
  328. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  329. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  330. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  331. src/gp_functions.cpp:512:5: note: in expansion of macro ‘ARGS_GetStruct’
  332. 512 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  333. | ^~~~~~~~~~~~~~
  334. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  335. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  336. | ^~~~~~~~~~~~~~~~~
  337. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  338. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  339. | ~~~~~~~~~~~~~~~~~^~~
  340. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  341. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  342. | ^~~~~~~~~~~~~~~~
  343. src/gp_functions.cpp:516:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  344. 516 | ARGS_GetBYTEArray(6, BYTE, 3DESKey);
  345. | ^~~~~~~~~~~~~~~~~
  346. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  347. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  348. | ^~~~~~~~~~~~~~~~~
  349. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_rsa_key(PyObject*, PyObject*)’:
  350. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  351. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  352. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  353. src/gp_functions.cpp:529:5: note: in expansion of macro ‘ARGS_GetStruct’
  354. 529 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  355. | ^~~~~~~~~~~~~~
  356. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  357. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  358. | ^~~~~~~~~~~~~~~~~
  359. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  360. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  361. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  362. src/gp_functions.cpp:533:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  363. 533 | ARGS_GetTCHARArray(6, PEMKeyFileName);
  364. | ^~~~~~~~~~~~~~~~~~
  365. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  366. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  367. | ^~~~~~~~~~~~~~~~~
  368. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  369. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  370. | ~~~~~~~~~~~~~~~~~^~~
  371. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  372. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  373. | ^~~~~~~~~~~~~~~~
  374. src/gp_functions.cpp:534:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  375. 534 | ARGS_GetBYTEArray(7, char, PassPhrase);
  376. | ^~~~~~~~~~~~~~~~~
  377. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  378. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  379. | ^~~~~~~~~~~~~~~~~
  380. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_secure_channel_keys(PyObject*, PyObject*)’:
  381. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  382. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  383. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  384. src/gp_functions.cpp:548:5: note: in expansion of macro ‘ARGS_GetStruct’
  385. 548 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  386. | ^~~~~~~~~~~~~~
  387. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  388. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  389. | ^~~~~~~~~~~~~~~~~
  390. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  391. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  392. | ~~~~~~~~~~~~~~~~~^~~
  393. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  394. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  395. | ^~~~~~~~~~~~~~~~
  396. src/gp_functions.cpp:551:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  397. 551 | ARGS_GetBYTEArray(5, BYTE, NewBaseKey);
  398. | ^~~~~~~~~~~~~~~~~
  399. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  400. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  401. | ^~~~~~~~~~~~~~~~~
  402. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  403. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  404. | ~~~~~~~~~~~~~~~~~^~~
  405. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  406. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  407. | ^~~~~~~~~~~~~~~~
  408. src/gp_functions.cpp:552:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  409. 552 | ARGS_GetBYTEArray(6, BYTE, NewENCKey);
  410. | ^~~~~~~~~~~~~~~~~
  411. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  412. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  413. | ^~~~~~~~~~~~~~~~~
  414. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  415. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  416. | ~~~~~~~~~~~~~~~~~^~~
  417. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  418. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  419. | ^~~~~~~~~~~~~~~~
  420. src/gp_functions.cpp:553:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  421. 553 | ARGS_GetBYTEArray(7, BYTE, NewMACKey);
  422. | ^~~~~~~~~~~~~~~~~
  423. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  424. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  425. | ^~~~~~~~~~~~~~~~~
  426. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  427. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  428. | ~~~~~~~~~~~~~~~~~^~~
  429. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  430. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  431. | ^~~~~~~~~~~~~~~~
  432. src/gp_functions.cpp:554:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  433. 554 | ARGS_GetBYTEArray(8, BYTE, NewDEKKey);
  434. | ^~~~~~~~~~~~~~~~~
  435. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  436. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  437. | ^~~~~~~~~~~~~~~~~
  438. 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)’
  439. 556 | OPGP_ERROR_STATUS errorStatus = GP211_put_secure_channel_keys(stCardContext, stCardInfo, pstSecurityInfo, bKeySetVersion, bNewKeySetVersion, pNewBaseKey, pNewENCKey, pNewMACKey, pNewDEKKey);
  440. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441. /usr/local/include/globalplatform/globalplatform.h:510:19: note: declared here
  442. 510 | OPGP_ERROR_STATUS GP211_put_secure_channel_keys(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
  443. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  444. src/gp_functions.cpp: In function ‘PyObject* pyGP211_delete_key(PyObject*, PyObject*)’:
  445. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  446. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  447. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  448. src/gp_functions.cpp:568:5: note: in expansion of macro ‘ARGS_GetStruct’
  449. 568 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  450. | ^~~~~~~~~~~~~~
  451. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  452. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  453. | ^~~~~~~~~~~~~~~~~
  454. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_key_information_templates(PyObject*, PyObject*)’:
  455. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  456. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  457. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  458. src/gp_functions.cpp:584:5: note: in expansion of macro ‘ARGS_GetStruct’
  459. 584 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  460. | ^~~~~~~~~~~~~~
  461. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  462. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  463. | ^~~~~~~~~~~~~~~~~
  464. src/gp_functions.cpp: In function ‘PyObject* pyGP211_delete_application(PyObject*, PyObject*)’:
  465. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  466. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  467. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  468. src/gp_functions.cpp:601:5: note: in expansion of macro ‘ARGS_GetStruct’
  469. 601 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  470. | ^~~~~~~~~~~~~~
  471. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  472. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  473. | ^~~~~~~~~~~~~~~~~
  474. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  475. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  476. | ~~~~~~~~~~~~~~~~~^~~
  477. src/gp_functions.cpp:615:33: note: in expansion of macro ‘_PyArray_GetSize’
  478. 615 | BYTE bAidLength = (BYTE)_PyArray_GetSize(pobjAID);
  479. | ^~~~~~~~~~~~~~~~
  480. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  481. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  482. | ^~~~~~~~~~~~~~~~~
  483. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_load(PyObject*, PyObject*)’:
  484. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  485. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  486. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  487. src/gp_functions.cpp:635:5: note: in expansion of macro ‘ARGS_GetStruct’
  488. 635 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  489. | ^~~~~~~~~~~~~~
  490. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  491. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  492. | ^~~~~~~~~~~~~~~~~
  493. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  494. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  495. | ~~~~~~~~~~~~~~~~~^~~
  496. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  497. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  498. | ^~~~~~~~~~~~~~~~
  499. src/gp_functions.cpp:636:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  500. 636 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
  501. | ^~~~~~~~~~~~~~~~~
  502. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  503. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  504. | ^~~~~~~~~~~~~~~~~
  505. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  506. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  507. | ~~~~~~~~~~~~~~~~~^~~
  508. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  509. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  510. | ^~~~~~~~~~~~~~~~
  511. src/gp_functions.cpp:637:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  512. 637 | ARGS_GetBYTEArray(4, BYTE, SecurityDomainAID);
  513. | ^~~~~~~~~~~~~~~~~
  514. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  515. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  516. | ^~~~~~~~~~~~~~~~~
  517. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  518. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  519. | ~~~~~~~~~~~~~~~~~^~~
  520. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  521. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  522. | ^~~~~~~~~~~~~~~~
  523. src/gp_functions.cpp:638:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  524. 638 | ARGS_GetBYTEArray(5, BYTE, LoadFileDataBlockHash);
  525. | ^~~~~~~~~~~~~~~~~
  526. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  527. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  528. | ^~~~~~~~~~~~~~~~~
  529. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  530. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  531. | ~~~~~~~~~~~~~~~~~^~~
  532. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  533. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  534. | ^~~~~~~~~~~~~~~~
  535. src/gp_functions.cpp:639:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  536. 639 | ARGS_GetBYTEArray(6, BYTE, LoadToken);
  537. | ^~~~~~~~~~~~~~~~~
  538. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  539. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  540. | ^~~~~~~~~~~~~~~~~
  541. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_extradition_token_signature_data(PyObject*, PyObject*)’:
  542. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  543. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  544. | ~~~~~~~~~~~~~~~~~^~~
  545. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  546. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  547. | ^~~~~~~~~~~~~~~~
  548. src/gp_functions.cpp:655:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  549. 655 | ARGS_GetBYTEArray(0, BYTE, SecurityDomainAID);
  550. | ^~~~~~~~~~~~~~~~~
  551. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  552. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  553. | ^~~~~~~~~~~~~~~~~
  554. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  555. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  556. | ~~~~~~~~~~~~~~~~~^~~
  557. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  558. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  559. | ^~~~~~~~~~~~~~~~
  560. src/gp_functions.cpp:656:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  561. 656 | ARGS_GetBYTEArray(1, BYTE, ApplicationAID);
  562. | ^~~~~~~~~~~~~~~~~
  563. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  564. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  565. | ^~~~~~~~~~~~~~~~~
  566. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_load_token_signature_data(PyObject*, PyObject*)’:
  567. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  568. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  569. | ~~~~~~~~~~~~~~~~~^~~
  570. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  571. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  572. | ^~~~~~~~~~~~~~~~
  573. src/gp_functions.cpp:670:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  574. 670 | ARGS_GetBYTEArray(0, BYTE, ExecutableLoadFileAID);
  575. | ^~~~~~~~~~~~~~~~~
  576. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  577. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  578. | ^~~~~~~~~~~~~~~~~
  579. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  580. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  581. | ~~~~~~~~~~~~~~~~~^~~
  582. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  583. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  584. | ^~~~~~~~~~~~~~~~
  585. src/gp_functions.cpp:671:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  586. 671 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
  587. | ^~~~~~~~~~~~~~~~~
  588. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  589. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  590. | ^~~~~~~~~~~~~~~~~
  591. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  592. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  593. | ~~~~~~~~~~~~~~~~~^~~
  594. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  595. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  596. | ^~~~~~~~~~~~~~~~
  597. src/gp_functions.cpp:672:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  598. 672 | ARGS_GetBYTEArray(2, BYTE, LoadFileDataBlockHash);
  599. | ^~~~~~~~~~~~~~~~~
  600. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  601. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  602. | ^~~~~~~~~~~~~~~~~
  603. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_install_token_signature_data(PyObject*, PyObject*)’:
  604. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  605. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  606. | ~~~~~~~~~~~~~~~~~^~~
  607. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  608. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  609. | ^~~~~~~~~~~~~~~~
  610. src/gp_functions.cpp:690:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  611. 690 | ARGS_GetBYTEArray(1, BYTE, ExecutableLoadFileAID);
  612. | ^~~~~~~~~~~~~~~~~
  613. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  614. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  615. | ^~~~~~~~~~~~~~~~~
  616. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  617. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  618. | ~~~~~~~~~~~~~~~~~^~~
  619. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  620. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  621. | ^~~~~~~~~~~~~~~~
  622. src/gp_functions.cpp:691:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  623. 691 | ARGS_GetBYTEArray(2, BYTE, ExecutableModuleAID);
  624. | ^~~~~~~~~~~~~~~~~
  625. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  626. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  627. | ^~~~~~~~~~~~~~~~~
  628. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  629. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  630. | ~~~~~~~~~~~~~~~~~^~~
  631. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  632. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  633. | ^~~~~~~~~~~~~~~~
  634. src/gp_functions.cpp:692:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  635. 692 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
  636. | ^~~~~~~~~~~~~~~~~
  637. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  638. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  639. | ^~~~~~~~~~~~~~~~~
  640. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  641. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  642. | ~~~~~~~~~~~~~~~~~^~~
  643. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  644. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  645. | ^~~~~~~~~~~~~~~~
  646. src/gp_functions.cpp:696:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  647. 696 | ARGS_GetBYTEArray(7, BYTE, InstallParameters);
  648. | ^~~~~~~~~~~~~~~~~
  649. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  650. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  651. | ^~~~~~~~~~~~~~~~~
  652. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_load_token(PyObject*, PyObject*)’:
  653. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  654. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  655. | ~~~~~~~~~~~~~~~~~^~~
  656. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  657. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  658. | ^~~~~~~~~~~~~~~~
  659. src/gp_functions.cpp:710:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  660. 710 | ARGS_GetBYTEArray(0, BYTE, ExecutableLoadFileAID);
  661. | ^~~~~~~~~~~~~~~~~
  662. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  663. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  664. | ^~~~~~~~~~~~~~~~~
  665. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  666. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  667. | ~~~~~~~~~~~~~~~~~^~~
  668. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  669. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  670. | ^~~~~~~~~~~~~~~~
  671. src/gp_functions.cpp:711:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  672. 711 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
  673. | ^~~~~~~~~~~~~~~~~
  674. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  675. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  676. | ^~~~~~~~~~~~~~~~~
  677. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  678. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  679. | ~~~~~~~~~~~~~~~~~^~~
  680. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  681. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  682. | ^~~~~~~~~~~~~~~~
  683. src/gp_functions.cpp:712:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  684. 712 | ARGS_GetBYTEArray(2, BYTE, LoadFileDataBlockHash);
  685. | ^~~~~~~~~~~~~~~~~
  686. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  687. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  688. | ^~~~~~~~~~~~~~~~~
  689. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  690. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  691. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  692. src/gp_functions.cpp:716:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  693. 716 | ARGS_GetTCHARArray(6, PEMKeyFileName);
  694. | ^~~~~~~~~~~~~~~~~~
  695. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  696. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  697. | ^~~~~~~~~~~~~~~~~
  698. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  699. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  700. | ~~~~~~~~~~~~~~~~~^~~
  701. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  702. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  703. | ^~~~~~~~~~~~~~~~
  704. src/gp_functions.cpp:717:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  705. 717 | ARGS_GetBYTEArray(7, char, PassPhrase);
  706. | ^~~~~~~~~~~~~~~~~
  707. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  708. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  709. | ^~~~~~~~~~~~~~~~~
  710. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_install_token(PyObject*, PyObject*)’:
  711. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  712. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  713. | ~~~~~~~~~~~~~~~~~^~~
  714. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  715. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  716. | ^~~~~~~~~~~~~~~~
  717. src/gp_functions.cpp:731:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  718. 731 | ARGS_GetBYTEArray(1, BYTE, ExecutableLoadFileAID);
  719. | ^~~~~~~~~~~~~~~~~
  720. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  721. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  722. | ^~~~~~~~~~~~~~~~~
  723. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  724. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  725. | ~~~~~~~~~~~~~~~~~^~~
  726. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  727. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  728. | ^~~~~~~~~~~~~~~~
  729. src/gp_functions.cpp:732:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  730. 732 | ARGS_GetBYTEArray(2, BYTE, ExecutableModuleAID);
  731. | ^~~~~~~~~~~~~~~~~
  732. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  733. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  734. | ^~~~~~~~~~~~~~~~~
  735. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  736. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  737. | ~~~~~~~~~~~~~~~~~^~~
  738. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  739. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  740. | ^~~~~~~~~~~~~~~~
  741. src/gp_functions.cpp:733:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  742. 733 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
  743. | ^~~~~~~~~~~~~~~~~
  744. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  745. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  746. | ^~~~~~~~~~~~~~~~~
  747. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  748. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  749. | ~~~~~~~~~~~~~~~~~^~~
  750. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  751. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  752. | ^~~~~~~~~~~~~~~~
  753. src/gp_functions.cpp:737:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  754. 737 | ARGS_GetBYTEArray(7, BYTE, InstallParameters);
  755. | ^~~~~~~~~~~~~~~~~
  756. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  757. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  758. | ^~~~~~~~~~~~~~~~~
  759. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  760. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  761. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  762. src/gp_functions.cpp:738:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  763. 738 | ARGS_GetTCHARArray(8, PEMKeyFileName);
  764. | ^~~~~~~~~~~~~~~~~~
  765. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  766. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  767. | ^~~~~~~~~~~~~~~~~
  768. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_load_file_data_block_hash(PyObject*, PyObject*)’:
  769. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  770. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  771. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  772. src/gp_functions.cpp:757:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  773. 757 | ARGS_GetTCHARArray(0, PEMKeyFileName);
  774. | ^~~~~~~~~~~~~~~~~~
  775. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  776. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  777. | ^~~~~~~~~~~~~~~~~
  778. 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)’
  779. 760 | OPGP_ERROR_STATUS errorStatus = GP211_calculate_load_file_data_block_hash((OPGP_STRING)pPEMKeyFileName, baHash);
  780. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  781. /usr/local/include/globalplatform/globalplatform.h:614:19: note: declared here
  782. 614 | OPGP_ERROR_STATUS GP211_calculate_load_file_data_block_hash(OPGP_STRING executableLoadFileName,
  783. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  784. src/gp_functions.cpp: In function ‘PyObject* pyGP211_load(PyObject*, PyObject*)’:
  785. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  786. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  787. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  788. src/gp_functions.cpp:774:5: note: in expansion of macro ‘ARGS_GetStruct’
  789. 774 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  790. | ^~~~~~~~~~~~~~
  791. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  792. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  793. | ^~~~~~~~~~~~~~~~~
  794. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  795. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  796. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  797. src/gp_functions.cpp:775:5: note: in expansion of macro ‘ARGS_GetStruct’
  798. 775 | ARGS_GetStruct(3, GP211_DAP_BLOCK, DapBlock);
  799. | ^~~~~~~~~~~~~~
  800. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  801. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  802. | ^~~~~~~~~~~~~~~~~
  803. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  804. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  805. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  806. src/gp_functions.cpp:776:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  807. 776 | ARGS_GetTCHARArray(4, ExecutableLoadFileName);
  808. | ^~~~~~~~~~~~~~~~~~
  809. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  810. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  811. | ^~~~~~~~~~~~~~~~~
  812. src/gp_functions.cpp: In function ‘PyObject* pyGP211_load_from_buffer(PyObject*, PyObject*)’:
  813. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  814. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  815. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  816. src/gp_functions.cpp:796:5: note: in expansion of macro ‘ARGS_GetStruct’
  817. 796 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  818. | ^~~~~~~~~~~~~~
  819. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  820. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  821. | ^~~~~~~~~~~~~~~~~
  822. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  823. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  824. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  825. src/gp_functions.cpp:797:5: note: in expansion of macro ‘ARGS_GetStruct’
  826. 797 | ARGS_GetStruct(3, GP211_DAP_BLOCK, DapBlock);
  827. | ^~~~~~~~~~~~~~
  828. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  829. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  830. | ^~~~~~~~~~~~~~~~~
  831. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  832. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  833. | ~~~~~~~~~~~~~~~~~^~~
  834. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  835. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  836. | ^~~~~~~~~~~~~~~~
  837. src/gp_functions.cpp:798:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  838. 798 | ARGS_GetBYTEArray(4, BYTE, LoadFileBuf);
  839. | ^~~~~~~~~~~~~~~~~
  840. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  841. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  842. | ^~~~~~~~~~~~~~~~~
  843. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_install(PyObject*, PyObject*)’:
  844. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  845. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  846. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  847. src/gp_functions.cpp:817:5: note: in expansion of macro ‘ARGS_GetStruct’
  848. 817 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  849. | ^~~~~~~~~~~~~~
  850. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  851. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  852. | ^~~~~~~~~~~~~~~~~
  853. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  854. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  855. | ~~~~~~~~~~~~~~~~~^~~
  856. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  857. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  858. | ^~~~~~~~~~~~~~~~
  859. src/gp_functions.cpp:818:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  860. 818 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
  861. | ^~~~~~~~~~~~~~~~~
  862. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  863. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  864. | ^~~~~~~~~~~~~~~~~
  865. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  866. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  867. | ~~~~~~~~~~~~~~~~~^~~
  868. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  869. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  870. | ^~~~~~~~~~~~~~~~
  871. src/gp_functions.cpp:819:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  872. 819 | ARGS_GetBYTEArray(4, BYTE, ExecutableModuleAID);
  873. | ^~~~~~~~~~~~~~~~~
  874. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  875. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  876. | ^~~~~~~~~~~~~~~~~
  877. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  878. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  879. | ~~~~~~~~~~~~~~~~~^~~
  880. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  881. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  882. | ^~~~~~~~~~~~~~~~
  883. src/gp_functions.cpp:820:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  884. 820 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
  885. | ^~~~~~~~~~~~~~~~~
  886. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  887. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  888. | ^~~~~~~~~~~~~~~~~
  889. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  890. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  891. | ~~~~~~~~~~~~~~~~~^~~
  892. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  893. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  894. | ^~~~~~~~~~~~~~~~
  895. src/gp_functions.cpp:824:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  896. 824 | ARGS_GetBYTEArray(9, BYTE, InstallParameters);
  897. | ^~~~~~~~~~~~~~~~~
  898. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  899. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  900. | ^~~~~~~~~~~~~~~~~
  901. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  902. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  903. | ~~~~~~~~~~~~~~~~~^~~
  904. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  905. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  906. | ^~~~~~~~~~~~~~~~
  907. src/gp_functions.cpp:825:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  908. 825 | ARGS_GetBYTEArray(10, BYTE, InstallToken);
  909. | ^~~~~~~~~~~~~~~~~
  910. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  911. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  912. | ^~~~~~~~~~~~~~~~~
  913. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_make_selectable(PyObject*, PyObject*)’:
  914. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  915. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  916. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  917. src/gp_functions.cpp:844:5: note: in expansion of macro ‘ARGS_GetStruct’
  918. 844 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  919. | ^~~~~~~~~~~~~~
  920. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  921. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  922. | ^~~~~~~~~~~~~~~~~
  923. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  924. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  925. | ~~~~~~~~~~~~~~~~~^~~
  926. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  927. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  928. | ^~~~~~~~~~~~~~~~
  929. src/gp_functions.cpp:845:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  930. 845 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
  931. | ^~~~~~~~~~~~~~~~~
  932. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  933. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  934. | ^~~~~~~~~~~~~~~~~
  935. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  936. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  937. | ~~~~~~~~~~~~~~~~~^~~
  938. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  939. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  940. | ^~~~~~~~~~~~~~~~
  941. src/gp_functions.cpp:847:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  942. 847 | ARGS_GetBYTEArray(5, BYTE, InstallToken);
  943. | ^~~~~~~~~~~~~~~~~
  944. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  945. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  946. | ^~~~~~~~~~~~~~~~~
  947. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_install_and_make_selectable(PyObject*, PyObject*)’:
  948. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  949. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  950. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  951. src/gp_functions.cpp:866:5: note: in expansion of macro ‘ARGS_GetStruct’
  952. 866 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  953. | ^~~~~~~~~~~~~~
  954. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  955. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  956. | ^~~~~~~~~~~~~~~~~
  957. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  958. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  959. | ~~~~~~~~~~~~~~~~~^~~
  960. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  961. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  962. | ^~~~~~~~~~~~~~~~
  963. src/gp_functions.cpp:867:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  964. 867 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
  965. | ^~~~~~~~~~~~~~~~~
  966. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  967. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  968. | ^~~~~~~~~~~~~~~~~
  969. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  970. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  971. | ~~~~~~~~~~~~~~~~~^~~
  972. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  973. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  974. | ^~~~~~~~~~~~~~~~
  975. src/gp_functions.cpp:868:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  976. 868 | ARGS_GetBYTEArray(4, BYTE, ExecutableModuleAID);
  977. | ^~~~~~~~~~~~~~~~~
  978. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  979. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  980. | ^~~~~~~~~~~~~~~~~
  981. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  982. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  983. | ~~~~~~~~~~~~~~~~~^~~
  984. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  985. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  986. | ^~~~~~~~~~~~~~~~
  987. src/gp_functions.cpp:869:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  988. 869 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
  989. | ^~~~~~~~~~~~~~~~~
  990. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  991. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  992. | ^~~~~~~~~~~~~~~~~
  993. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  994. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  995. | ~~~~~~~~~~~~~~~~~^~~
  996. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  997. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  998. | ^~~~~~~~~~~~~~~~
  999. src/gp_functions.cpp:873:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1000. 873 | ARGS_GetBYTEArray(9, BYTE, InstallParameters);
  1001. | ^~~~~~~~~~~~~~~~~
  1002. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1003. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1004. | ^~~~~~~~~~~~~~~~~
  1005. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1006. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1007. | ~~~~~~~~~~~~~~~~~^~~
  1008. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1009. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1010. | ^~~~~~~~~~~~~~~~
  1011. src/gp_functions.cpp:874:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1012. 874 | ARGS_GetBYTEArray(10, BYTE, InstallToken);
  1013. | ^~~~~~~~~~~~~~~~~
  1014. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1015. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1016. | ^~~~~~~~~~~~~~~~~
  1017. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_personalization(PyObject*, PyObject*)’:
  1018. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1019. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1020. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1021. src/gp_functions.cpp:894:5: note: in expansion of macro ‘ARGS_GetStruct’
  1022. 894 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1023. | ^~~~~~~~~~~~~~
  1024. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1025. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1026. | ^~~~~~~~~~~~~~~~~
  1027. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1028. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1029. | ~~~~~~~~~~~~~~~~~^~~
  1030. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1031. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1032. | ^~~~~~~~~~~~~~~~
  1033. src/gp_functions.cpp:895:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1034. 895 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
  1035. | ^~~~~~~~~~~~~~~~~
  1036. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1037. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1038. | ^~~~~~~~~~~~~~~~~
  1039. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_extradition(PyObject*, PyObject*)’:
  1040. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1041. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1042. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1043. src/gp_functions.cpp:909:5: note: in expansion of macro ‘ARGS_GetStruct’
  1044. 909 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1045. | ^~~~~~~~~~~~~~
  1046. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1047. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1048. | ^~~~~~~~~~~~~~~~~
  1049. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1050. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1051. | ~~~~~~~~~~~~~~~~~^~~
  1052. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1053. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1054. | ^~~~~~~~~~~~~~~~
  1055. src/gp_functions.cpp:910:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1056. 910 | ARGS_GetBYTEArray(3, BYTE, SecurityDomainAID);
  1057. | ^~~~~~~~~~~~~~~~~
  1058. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1059. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1060. | ^~~~~~~~~~~~~~~~~
  1061. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1062. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1063. | ~~~~~~~~~~~~~~~~~^~~
  1064. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1065. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1066. | ^~~~~~~~~~~~~~~~
  1067. src/gp_functions.cpp:911:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1068. 911 | ARGS_GetBYTEArray(4, BYTE, ApplicationAID);
  1069. | ^~~~~~~~~~~~~~~~~
  1070. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1071. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1072. | ^~~~~~~~~~~~~~~~~
  1073. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1074. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1075. | ~~~~~~~~~~~~~~~~~^~~
  1076. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1077. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1078. | ^~~~~~~~~~~~~~~~
  1079. src/gp_functions.cpp:912:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1080. 912 | ARGS_GetBYTEArray(5, BYTE, ExtrationToken);
  1081. | ^~~~~~~~~~~~~~~~~
  1082. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1083. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1084. | ^~~~~~~~~~~~~~~~~
  1085. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_delegated_management_keys(PyObject*, PyObject*)’:
  1086. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1087. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1088. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1089. src/gp_functions.cpp:931:5: note: in expansion of macro ‘ARGS_GetStruct’
  1090. 931 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1091. | ^~~~~~~~~~~~~~
  1092. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1093. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1094. | ^~~~~~~~~~~~~~~~~
  1095. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1096. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  1097. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1098. src/gp_functions.cpp:934:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  1099. 934 | ARGS_GetTCHARArray(5, PEMKeyFileName);
  1100. | ^~~~~~~~~~~~~~~~~~
  1101. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1102. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1103. | ^~~~~~~~~~~~~~~~~
  1104. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1105. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1106. | ~~~~~~~~~~~~~~~~~^~~
  1107. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1108. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1109. | ^~~~~~~~~~~~~~~~
  1110. src/gp_functions.cpp:935:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1111. 935 | ARGS_GetBYTEArray(6, char, PassPhrase);
  1112. | ^~~~~~~~~~~~~~~~~
  1113. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1114. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1115. | ^~~~~~~~~~~~~~~~~
  1116. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1117. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1118. | ~~~~~~~~~~~~~~~~~^~~
  1119. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1120. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1121. | ^~~~~~~~~~~~~~~~
  1122. src/gp_functions.cpp:936:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1123. 936 | ARGS_GetBYTEArray(7, BYTE, ReceiptKey);
  1124. | ^~~~~~~~~~~~~~~~~
  1125. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1126. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1127. | ^~~~~~~~~~~~~~~~~
  1128. 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)’
  1129. 938 | OPGP_ERROR_STATUS errorStatus = GP211_put_delegated_management_keys(stCardContext, stCardInfo, pstSecurityInfo, bKeySetVersion, bNewKeySetVersion, (OPGP_STRING)pPEMKeyFileName, pPassPhrase, pReceiptKey);
  1130. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1131. /usr/local/include/globalplatform/globalplatform.h:697:19: note: declared here
  1132. 697 | OPGP_ERROR_STATUS GP211_put_delegated_management_keys(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
  1133. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1134. src/gp_functions.cpp: In function ‘PyObject* pyGP211_send_APDU(PyObject*, PyObject*)’:
  1135. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1136. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1137. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1138. src/gp_functions.cpp:950:5: note: in expansion of macro ‘ARGS_GetStruct’
  1139. 950 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1140. | ^~~~~~~~~~~~~~
  1141. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1142. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1143. | ^~~~~~~~~~~~~~~~~
  1144. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1145. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1146. | ~~~~~~~~~~~~~~~~~^~~
  1147. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1148. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1149. | ^~~~~~~~~~~~~~~~
  1150. src/gp_functions.cpp:951:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1151. 951 | ARGS_GetBYTEArray(3, BYTE, CApdu);
  1152. | ^~~~~~~~~~~~~~~~~
  1153. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1154. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1155. | ^~~~~~~~~~~~~~~~~
  1156. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_3des_DAP(PyObject*, PyObject*)’:
  1157. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1158. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1159. | ~~~~~~~~~~~~~~~~~^~~
  1160. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1161. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1162. | ^~~~~~~~~~~~~~~~
  1163. src/gp_functions.cpp:965:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1164. 965 | ARGS_GetBYTEArray(0, BYTE, LoadFileDataBlockHash);
  1165. | ^~~~~~~~~~~~~~~~~
  1166. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1167. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1168. | ^~~~~~~~~~~~~~~~~
  1169. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1170. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1171. | ~~~~~~~~~~~~~~~~~^~~
  1172. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1173. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1174. | ^~~~~~~~~~~~~~~~
  1175. src/gp_functions.cpp:966:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1176. 966 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
  1177. | ^~~~~~~~~~~~~~~~~
  1178. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1179. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1180. | ^~~~~~~~~~~~~~~~~
  1181. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1182. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1183. | ~~~~~~~~~~~~~~~~~^~~
  1184. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1185. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1186. | ^~~~~~~~~~~~~~~~
  1187. src/gp_functions.cpp:967:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1188. 967 | ARGS_GetBYTEArray(2, BYTE, DAPCalculationKey);
  1189. | ^~~~~~~~~~~~~~~~~
  1190. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1191. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1192. | ^~~~~~~~~~~~~~~~~
  1193. src/gp_functions.cpp:970:37: error: ‘GP211_calculate_3des_DAP’ was not declared in this scope; did you mean ‘pyGP211_calculate_3des_DAP’?
  1194. 970 | OPGP_ERROR_STATUS errorStatus = GP211_calculate_3des_DAP(pLoadFileDataBlockHash, pSecurityDomainAID, dwSecurityDomainAIDLength, pDAPCalculationKey, &stLoadFileDataBlockSignature);
  1195. | ^~~~~~~~~~~~~~~~~~~~~~~~
  1196. | pyGP211_calculate_3des_DAP
  1197. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_rsa_DAP(PyObject*, PyObject*)’:
  1198. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1199. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1200. | ~~~~~~~~~~~~~~~~~^~~
  1201. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1202. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1203. | ^~~~~~~~~~~~~~~~
  1204. src/gp_functions.cpp:980:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1205. 980 | ARGS_GetBYTEArray(0, BYTE, LoadFileDataBlockHash);
  1206. | ^~~~~~~~~~~~~~~~~
  1207. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1208. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1209. | ^~~~~~~~~~~~~~~~~
  1210. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1211. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1212. | ~~~~~~~~~~~~~~~~~^~~
  1213. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1214. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1215. | ^~~~~~~~~~~~~~~~
  1216. src/gp_functions.cpp:981:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1217. 981 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
  1218. | ^~~~~~~~~~~~~~~~~
  1219. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1220. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1221. | ^~~~~~~~~~~~~~~~~
  1222. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1223. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  1224. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1225. src/gp_functions.cpp:982:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  1226. 982 | ARGS_GetTCHARArray(2, PEMKeyFileName);
  1227. | ^~~~~~~~~~~~~~~~~~
  1228. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1229. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1230. | ^~~~~~~~~~~~~~~~~
  1231. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1232. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1233. | ~~~~~~~~~~~~~~~~~^~~
  1234. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1235. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1236. | ^~~~~~~~~~~~~~~~
  1237. src/gp_functions.cpp:983:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1238. 983 | ARGS_GetBYTEArray(3, char, PassPhrase);
  1239. | ^~~~~~~~~~~~~~~~~
  1240. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1241. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1242. | ^~~~~~~~~~~~~~~~~
  1243. src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_delete_receipt(PyObject*, PyObject*)’:
  1244. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1245. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1246. | ~~~~~~~~~~~~~~~~~^~~
  1247. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1248. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1249. | ^~~~~~~~~~~~~~~~
  1250. src/gp_functions.cpp:997:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1251. 997 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
  1252. | ^~~~~~~~~~~~~~~~~
  1253. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1254. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1255. | ^~~~~~~~~~~~~~~~~
  1256. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1257. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1258. | ~~~~~~~~~~~~~~~~~^~~
  1259. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1260. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1261. | ^~~~~~~~~~~~~~~~
  1262. src/gp_functions.cpp:998:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1263. 998 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
  1264. | ^~~~~~~~~~~~~~~~~
  1265. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1266. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1267. | ^~~~~~~~~~~~~~~~~
  1268. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1269. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1270. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1271. src/gp_functions.cpp:999:5: note: in expansion of macro ‘ARGS_GetStruct’
  1272. 999 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
  1273. | ^~~~~~~~~~~~~~
  1274. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1275. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1276. | ^~~~~~~~~~~~~~~~~
  1277. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1278. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1279. | ~~~~~~~~~~~~~~~~~^~~
  1280. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1281. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1282. | ^~~~~~~~~~~~~~~~
  1283. src/gp_functions.cpp:1000:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1284. 1000 | ARGS_GetBYTEArray(4, BYTE, AID);
  1285. | ^~~~~~~~~~~~~~~~~
  1286. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1287. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1288. | ^~~~~~~~~~~~~~~~~
  1289. src/gp_functions.cpp:1002:144: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
  1290. 1002 | OPGP_ERROR_STATUS errorStatus = GP211_validate_delete_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pAID, dwAIDLength);
  1291. | ^~~~~~~~~~~~~
  1292. | |
  1293. | GP211_RECEIPT_DATA
  1294. /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)’
  1295. 725 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
  1296. | ~~~~~~^~~~~~~~~
  1297. src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_install_receipt(PyObject*, PyObject*)’:
  1298. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1299. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1300. | ~~~~~~~~~~~~~~~~~^~~
  1301. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1302. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1303. | ^~~~~~~~~~~~~~~~
  1304. src/gp_functions.cpp:1013:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1305. 1013 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
  1306. | ^~~~~~~~~~~~~~~~~
  1307. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1308. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1309. | ^~~~~~~~~~~~~~~~~
  1310. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1311. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1312. | ~~~~~~~~~~~~~~~~~^~~
  1313. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1314. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1315. | ^~~~~~~~~~~~~~~~
  1316. src/gp_functions.cpp:1014:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1317. 1014 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
  1318. | ^~~~~~~~~~~~~~~~~
  1319. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1320. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1321. | ^~~~~~~~~~~~~~~~~
  1322. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1323. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1324. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1325. src/gp_functions.cpp:1015:5: note: in expansion of macro ‘ARGS_GetStruct’
  1326. 1015 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
  1327. | ^~~~~~~~~~~~~~
  1328. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1329. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1330. | ^~~~~~~~~~~~~~~~~
  1331. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1332. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1333. | ~~~~~~~~~~~~~~~~~^~~
  1334. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1335. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1336. | ^~~~~~~~~~~~~~~~
  1337. src/gp_functions.cpp:1016:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1338. 1016 | ARGS_GetBYTEArray(4, BYTE, ExecutableLoadFileAID);
  1339. | ^~~~~~~~~~~~~~~~~
  1340. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1341. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1342. | ^~~~~~~~~~~~~~~~~
  1343. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1344. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1345. | ~~~~~~~~~~~~~~~~~^~~
  1346. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1347. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1348. | ^~~~~~~~~~~~~~~~
  1349. src/gp_functions.cpp:1017:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1350. 1017 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
  1351. | ^~~~~~~~~~~~~~~~~
  1352. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1353. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1354. | ^~~~~~~~~~~~~~~~~
  1355. src/gp_functions.cpp:1019:145: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
  1356. 1019 | OPGP_ERROR_STATUS errorStatus = GP211_validate_install_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pExecutableLoadFileAID, dwExecutableLoadFileAIDLength, pApplicationAID, dwApplicationAIDLength);
  1357. | ^~~~~~~~~~~~~
  1358. | |
  1359. | GP211_RECEIPT_DATA
  1360. /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)’
  1361. 732 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
  1362. | ~~~~~~^~~~~~~~~
  1363. src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_load_receipt(PyObject*, PyObject*)’:
  1364. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1365. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1366. | ~~~~~~~~~~~~~~~~~^~~
  1367. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1368. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1369. | ^~~~~~~~~~~~~~~~
  1370. src/gp_functions.cpp:1030:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1371. 1030 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
  1372. | ^~~~~~~~~~~~~~~~~
  1373. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1374. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1375. | ^~~~~~~~~~~~~~~~~
  1376. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1377. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1378. | ~~~~~~~~~~~~~~~~~^~~
  1379. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1380. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1381. | ^~~~~~~~~~~~~~~~
  1382. src/gp_functions.cpp:1031:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1383. 1031 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
  1384. | ^~~~~~~~~~~~~~~~~
  1385. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1386. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1387. | ^~~~~~~~~~~~~~~~~
  1388. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1389. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1390. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1391. src/gp_functions.cpp:1032:5: note: in expansion of macro ‘ARGS_GetStruct’
  1392. 1032 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
  1393. | ^~~~~~~~~~~~~~
  1394. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1395. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1396. | ^~~~~~~~~~~~~~~~~
  1397. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1398. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1399. | ~~~~~~~~~~~~~~~~~^~~
  1400. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1401. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1402. | ^~~~~~~~~~~~~~~~
  1403. src/gp_functions.cpp:1033:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1404. 1033 | ARGS_GetBYTEArray(4, BYTE, ExecutableLoadFileAID);
  1405. | ^~~~~~~~~~~~~~~~~
  1406. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1407. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1408. | ^~~~~~~~~~~~~~~~~
  1409. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1410. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1411. | ~~~~~~~~~~~~~~~~~^~~
  1412. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1413. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1414. | ^~~~~~~~~~~~~~~~
  1415. src/gp_functions.cpp:1034:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1416. 1034 | ARGS_GetBYTEArray(5, BYTE, SecurityDomainAID);
  1417. | ^~~~~~~~~~~~~~~~~
  1418. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1419. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1420. | ^~~~~~~~~~~~~~~~~
  1421. src/gp_functions.cpp:1036:142: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
  1422. 1036 | OPGP_ERROR_STATUS errorStatus = GP211_validate_load_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pExecutableLoadFileAID, dwExecutableLoadFileAIDLength, pSecurityDomainAID, dwSecurityDomainAIDLength);
  1423. | ^~~~~~~~~~~~~
  1424. | |
  1425. | GP211_RECEIPT_DATA
  1426. /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)’
  1427. 740 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
  1428. | ~~~~~~^~~~~~~~~
  1429. src/gp_functions.cpp: In function ‘PyObject* pyOPGP_manage_channel(PyObject*, PyObject*)’:
  1430. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1431. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1432. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1433. src/gp_functions.cpp:1076:5: note: in expansion of macro ‘ARGS_GetStruct’
  1434. 1076 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1435. | ^~~~~~~~~~~~~~
  1436. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1437. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1438. | ^~~~~~~~~~~~~~~~~
  1439. src/gp_functions.cpp: In function ‘PyObject* pyGP211_store_data(PyObject*, PyObject*)’:
  1440. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1441. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1442. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1443. src/gp_functions.cpp:1106:5: note: in expansion of macro ‘ARGS_GetStruct’
  1444. 1106 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1445. | ^~~~~~~~~~~~~~
  1446. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1447. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1448. | ^~~~~~~~~~~~~~~~~
  1449. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1450. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1451. | ~~~~~~~~~~~~~~~~~^~~
  1452. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1453. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1454. | ^~~~~~~~~~~~~~~~
  1455. src/gp_functions.cpp:1107:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1456. 1107 | ARGS_GetBYTEArray(3, BYTE, Data);
  1457. | ^~~~~~~~~~~~~~~~~
  1458. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1459. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1460. | ^~~~~~~~~~~~~~~~~
  1461. src/gp_functions.cpp:1109:98: error: invalid conversion from ‘BYTE*’ {aka ‘unsigned char*’} to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
  1462. 1109 | OPGP_ERROR_STATUS errorStatus = GP211_store_data(stCardContext, stCardInfo, pstSecurityInfo, pData, dwDataLength);
  1463. | ^~~~~
  1464. | |
  1465. | BYTE* {aka unsigned char*}
  1466. 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)’
  1467. 1109 | OPGP_ERROR_STATUS errorStatus = GP211_store_data(stCardContext, stCardInfo, pstSecurityInfo, pData, dwDataLength);
  1468. | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1469. /usr/local/include/globalplatform/globalplatform.h:774:19: note: declared here
  1470. 774 | OPGP_ERROR_STATUS GP211_store_data(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
  1471. | ^~~~~~~~~~~~~~~~
  1472. src/gp_functions.cpp: In function ‘PyObject* pyOPGP_read_executable_load_file_parameters(PyObject*, PyObject*)’:
  1473. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1474. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  1475. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1476. src/gp_functions.cpp:1131:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  1477. 1131 | ARGS_GetTCHARArray(0, LoadFileName);
  1478. | ^~~~~~~~~~~~~~~~~~
  1479. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1480. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1481. | ^~~~~~~~~~~~~~~~~
  1482. error: command '/usr/bin/gcc' failed with exit code 1
  1483. [end of output]
  1484.  
  1485. note: This error originates from a subprocess, and is likely not a problem with pip.
  1486. ERROR: Failed building wheel for pyglobalplatform
  1487. error: subprocess-exited-with-error
  1488.  
  1489. × Running setup.py install for pyglobalplatform did not run successfully.
  1490. │ exit code: 1
  1491. ╰─> [1479 lines of output]
  1492. running install
  1493. /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.
  1494. warnings.warn(
  1495. running build
  1496. running build_py
  1497. creating build
  1498. creating build/lib.linux-x86_64-3.10
  1499. creating build/lib.linux-x86_64-3.10/pyGlobalPlatform
  1500. copying pyGlobalPlatform/__init__.py -> build/lib.linux-x86_64-3.10/pyGlobalPlatform
  1501. copying pyGlobalPlatform/globalplatformlib.py -> build/lib.linux-x86_64-3.10/pyGlobalPlatform
  1502. running build_ext
  1503. building 'pyGlobalPlatform.pyGlobalPlatform' extension
  1504. creating build/temp.linux-x86_64-3.10
  1505. creating build/temp.linux-x86_64-3.10/src
  1506. 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
  1507. src/gp_functions.cpp: In function ‘PyObject* connectCard(PyObject*, PyObject*)’:
  1508. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1509. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  1510. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1511. src/gp_functions.cpp:223:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  1512. 223 | ARGS_GetTCHARArray(1, ReaderName);
  1513. | ^~~~~~~~~~~~~~~~~~
  1514. In file included from /usr/include/python3.10/Python.h:83,
  1515. from src/gp_functions.h:4,
  1516. from src/gp_functions.cpp:1:
  1517. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1518. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1519. | ^~~~~~~~~~~~~~~~~
  1520. src/gp_functions.cpp:101:15: warning: variable ‘dwReaderNameLength’ set but not used [-Wunused-but-set-variable]
  1521. 101 | DWORD dw##n##Length = 0; \
  1522. | ^~
  1523. src/gp_functions.cpp:223:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  1524. 223 | ARGS_GetTCHARArray(1, ReaderName);
  1525. | ^~~~~~~~~~~~~~~~~~
  1526. src/gp_functions.cpp: In function ‘PyObject* pyOPGP_select_application(PyObject*, PyObject*)’:
  1527. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1528. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1529. | ~~~~~~~~~~~~~~~~~^~~
  1530. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1531. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1532. | ^~~~~~~~~~~~~~~~
  1533. src/gp_functions.cpp:256:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1534. 256 | ARGS_GetBYTEArray(2, BYTE, AID);
  1535. | ^~~~~~~~~~~~~~~~~
  1536. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1537. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1538. | ^~~~~~~~~~~~~~~~~
  1539. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_status(PyObject*, PyObject*)’:
  1540. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1541. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1542. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1543. src/gp_functions.cpp:270:5: note: in expansion of macro ‘ARGS_GetStruct’
  1544. 270 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1545. | ^~~~~~~~~~~~~~
  1546. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1547. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1548. | ^~~~~~~~~~~~~~~~~
  1549. src/gp_functions.cpp:278:112: error: invalid conversion from ‘GP211_APPLICATION_DATA*’ to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
  1550. 278 | OPGP_ERROR_STATUS errorStatus = GP211_get_status(stCardContext, stCardInfo, pstSecurityInfo, bCardElement, astAppletData, astExecutableData, &dwDataCount);
  1551. | ^~~~~~~~~~~~~
  1552. | |
  1553. | GP211_APPLICATION_DATA*
  1554. src/gp_functions.cpp:278:127: error: cannot convert ‘GP211_EXECUTABLE_MODULES_DATA*’ to ‘GP211_APPLICATION_DATA*’
  1555. 278 | OPGP_ERROR_STATUS errorStatus = GP211_get_status(stCardContext, stCardInfo, pstSecurityInfo, bCardElement, astAppletData, astExecutableData, &dwDataCount);
  1556. | ^~~~~~~~~~~~~~~~~
  1557. | |
  1558. | GP211_EXECUTABLE_MODULES_DATA*
  1559. In file included from src/gp_functions.cpp:13:
  1560. /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)’
  1561. 428 | BYTE cardElement, BYTE format, GP211_APPLICATION_DATA *applData,
  1562. | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
  1563. src/gp_functions.cpp:286:135: error: ‘struct GP211_APPLICATION_DATA’ has no member named ‘AID’
  1564. 286 | PyDict_SetItem(pobjOneAppletData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *)pstOneAppletData->AID, pstOneAppletData->AIDLength));
  1565. | ^~~
  1566. src/gp_functions.cpp:29:93: note: in definition of macro ‘_PyString_FromArrayAndSize’
  1567. 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
  1568. | ^
  1569. src/gp_functions.cpp:286:158: error: ‘struct GP211_APPLICATION_DATA’ has no member named ‘AIDLength’
  1570. 286 | PyDict_SetItem(pobjOneAppletData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *)pstOneAppletData->AID, pstOneAppletData->AIDLength));
  1571. | ^~~~~~~~~
  1572. src/gp_functions.cpp:29:96: note: in definition of macro ‘_PyString_FromArrayAndSize’
  1573. 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
  1574. | ^
  1575. src/gp_functions.cpp:302:149: error: ‘struct GP211_EXECUTABLE_MODULES_DATA’ has no member named ‘AID’
  1576. 302 | PyDict_SetItem(pobjOneExecuableData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *) pstOneExecuableModulesData->AID, pstOneExecuableModulesData->AIDLength));
  1577. | ^~~
  1578. src/gp_functions.cpp:29:93: note: in definition of macro ‘_PyString_FromArrayAndSize’
  1579. 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
  1580. | ^
  1581. src/gp_functions.cpp:302:182: error: ‘struct GP211_EXECUTABLE_MODULES_DATA’ has no member named ‘AIDLength’
  1582. 302 | PyDict_SetItem(pobjOneExecuableData, _PyString_FromString("aid"), _PyString_FromArrayAndSize((const char *) pstOneExecuableModulesData->AID, pstOneExecuableModulesData->AIDLength));
  1583. | ^~~~~~~~~
  1584. src/gp_functions.cpp:29:96: note: in definition of macro ‘_PyString_FromArrayAndSize’
  1585. 29 | #define _PyString_FromArrayAndSize(a, s) PyUnicode_FromKindAndData(PyUnicode_1BYTE_KIND, a, s)
  1586. | ^
  1587. src/gp_functions.cpp: In function ‘PyObject* pyGP211_set_status(PyObject*, PyObject*)’:
  1588. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1589. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1590. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1591. src/gp_functions.cpp:331:5: note: in expansion of macro ‘ARGS_GetStruct’
  1592. 331 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1593. | ^~~~~~~~~~~~~~
  1594. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1595. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1596. | ^~~~~~~~~~~~~~~~~
  1597. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1598. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1599. | ~~~~~~~~~~~~~~~~~^~~
  1600. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1601. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1602. | ^~~~~~~~~~~~~~~~
  1603. src/gp_functions.cpp:333:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1604. 333 | ARGS_GetBYTEArray(4, BYTE, AID);
  1605. | ^~~~~~~~~~~~~~~~~
  1606. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1607. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1608. | ^~~~~~~~~~~~~~~~~
  1609. src/gp_functions.cpp: In function ‘PyObject* pyGP211_mutual_authentication(PyObject*, PyObject*)’:
  1610. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1611. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1612. | ~~~~~~~~~~~~~~~~~^~~
  1613. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1614. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1615. | ^~~~~~~~~~~~~~~~
  1616. src/gp_functions.cpp:348:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1617. 348 | ARGS_GetBYTEArray(2, BYTE, BaseKey);
  1618. | ^~~~~~~~~~~~~~~~~
  1619. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1620. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1621. | ^~~~~~~~~~~~~~~~~
  1622. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1623. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1624. | ~~~~~~~~~~~~~~~~~^~~
  1625. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1626. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1627. | ^~~~~~~~~~~~~~~~
  1628. src/gp_functions.cpp:349:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1629. 349 | ARGS_GetBYTEArray(3, BYTE, ENCKey);
  1630. | ^~~~~~~~~~~~~~~~~
  1631. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1632. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1633. | ^~~~~~~~~~~~~~~~~
  1634. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1635. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1636. | ~~~~~~~~~~~~~~~~~^~~
  1637. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1638. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1639. | ^~~~~~~~~~~~~~~~
  1640. src/gp_functions.cpp:350:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1641. 350 | ARGS_GetBYTEArray(4, BYTE, MACKey);
  1642. | ^~~~~~~~~~~~~~~~~
  1643. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1644. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1645. | ^~~~~~~~~~~~~~~~~
  1646. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1647. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1648. | ~~~~~~~~~~~~~~~~~^~~
  1649. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1650. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1651. | ^~~~~~~~~~~~~~~~
  1652. src/gp_functions.cpp:351:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1653. 351 | ARGS_GetBYTEArray(5, BYTE, DEKKey);
  1654. | ^~~~~~~~~~~~~~~~~
  1655. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1656. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1657. | ^~~~~~~~~~~~~~~~~
  1658. src/gp_functions.cpp:362:243: error: invalid conversion from ‘GP211_SECURITY_INFO*’ to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
  1659. 362 | OPGP_ERROR_STATUS errorStatus = GP211_mutual_authentication(stCardContext, stCardInfo, pBaseKey, pENCKey, pMACKey, pDEKKey, bKeySetVersion, bKeyIndex, bSecureChannelProtocol, bSecureChannelProtocolImpl, bSecurityLevel, bDerivationMethod, &stGP211SecurityInfo);
  1660. | ^~~~~~~~~~~~~~~~~~~~
  1661. | |
  1662. | GP211_SECURITY_INFO*
  1663. 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*)’
  1664. 362 | OPGP_ERROR_STATUS errorStatus = GP211_mutual_authentication(stCardContext, stCardInfo, pBaseKey, pENCKey, pMACKey, pDEKKey, bKeySetVersion, bKeyIndex, bSecureChannelProtocol, bSecureChannelProtocolImpl, bSecurityLevel, bDerivationMethod, &stGP211SecurityInfo);
  1665. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1666. /usr/local/include/globalplatform/globalplatform.h:437:19: note: declared here
  1667. 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo,
  1668. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  1669. src/gp_functions.cpp: In function ‘PyObject* pyGP211_init_implicit_secure_channel(PyObject*, PyObject*)’:
  1670. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1671. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1672. | ~~~~~~~~~~~~~~~~~^~~
  1673. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1674. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1675. | ^~~~~~~~~~~~~~~~
  1676. src/gp_functions.cpp:372:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1677. 372 | ARGS_GetBYTEArray(0, BYTE, AID);
  1678. | ^~~~~~~~~~~~~~~~~
  1679. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1680. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1681. | ^~~~~~~~~~~~~~~~~
  1682. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1683. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1684. | ~~~~~~~~~~~~~~~~~^~~
  1685. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1686. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1687. | ^~~~~~~~~~~~~~~~
  1688. src/gp_functions.cpp:373:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1689. 373 | ARGS_GetBYTEArray(1, BYTE, BaseKey);
  1690. | ^~~~~~~~~~~~~~~~~
  1691. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1692. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1693. | ^~~~~~~~~~~~~~~~~
  1694. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1695. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1696. | ~~~~~~~~~~~~~~~~~^~~
  1697. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1698. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1699. | ^~~~~~~~~~~~~~~~
  1700. src/gp_functions.cpp:374:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1701. 374 | ARGS_GetBYTEArray(2, BYTE, ENCKey);
  1702. | ^~~~~~~~~~~~~~~~~
  1703. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1704. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1705. | ^~~~~~~~~~~~~~~~~
  1706. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1707. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1708. | ~~~~~~~~~~~~~~~~~^~~
  1709. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1710. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1711. | ^~~~~~~~~~~~~~~~
  1712. src/gp_functions.cpp:375:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1713. 375 | ARGS_GetBYTEArray(3, BYTE, MACKey);
  1714. | ^~~~~~~~~~~~~~~~~
  1715. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1716. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1717. | ^~~~~~~~~~~~~~~~~
  1718. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1719. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1720. | ~~~~~~~~~~~~~~~~~^~~
  1721. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1722. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1723. | ^~~~~~~~~~~~~~~~
  1724. src/gp_functions.cpp:376:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1725. 376 | ARGS_GetBYTEArray(4, BYTE, DEKKey);
  1726. | ^~~~~~~~~~~~~~~~~
  1727. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1728. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1729. | ^~~~~~~~~~~~~~~~~
  1730. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_data(PyObject*, PyObject*)’:
  1731. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1732. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1733. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1734. src/gp_functions.cpp:403:5: note: in expansion of macro ‘ARGS_GetStruct’
  1735. 403 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1736. | ^~~~~~~~~~~~~~
  1737. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1738. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1739. | ^~~~~~~~~~~~~~~~~
  1740. src/gp_functions.cpp:408:30: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1741. 408 | if (PyUnicode_GetSize(pobjIdentifier) < 2) {
  1742. | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  1743. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1744. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1745. | ^~~~~~~~~~~~~~~~~
  1746. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_data_iso7816_4(PyObject*, PyObject*)’:
  1747. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1748. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1749. | ~~~~~~~~~~~~~~~~~^~~
  1750. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1751. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1752. | ^~~~~~~~~~~~~~~~
  1753. src/gp_functions.cpp:430:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1754. 430 | ARGS_GetBYTEArray(2, BYTE, Identifier);
  1755. | ^~~~~~~~~~~~~~~~~
  1756. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1757. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1758. | ^~~~~~~~~~~~~~~~~
  1759. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_data(PyObject*, PyObject*)’:
  1760. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1761. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1762. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1763. src/gp_functions.cpp:480:5: note: in expansion of macro ‘ARGS_GetStruct’
  1764. 480 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1765. | ^~~~~~~~~~~~~~
  1766. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1767. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1768. | ^~~~~~~~~~~~~~~~~
  1769. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1770. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1771. | ~~~~~~~~~~~~~~~~~^~~
  1772. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1773. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1774. | ^~~~~~~~~~~~~~~~
  1775. src/gp_functions.cpp:481:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1776. 481 | ARGS_GetBYTEArray(3, BYTE, Identifier);
  1777. | ^~~~~~~~~~~~~~~~~
  1778. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1779. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1780. | ^~~~~~~~~~~~~~~~~
  1781. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1782. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1783. | ~~~~~~~~~~~~~~~~~^~~
  1784. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1785. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1786. | ^~~~~~~~~~~~~~~~
  1787. src/gp_functions.cpp:482:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1788. 482 | ARGS_GetBYTEArray(4, BYTE, DataObject);
  1789. | ^~~~~~~~~~~~~~~~~
  1790. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1791. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1792. | ^~~~~~~~~~~~~~~~~
  1793. src/gp_functions.cpp: In function ‘PyObject* pyGP211_pin_change(PyObject*, PyObject*)’:
  1794. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1795. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1796. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1797. src/gp_functions.cpp:496:5: note: in expansion of macro ‘ARGS_GetStruct’
  1798. 496 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1799. | ^~~~~~~~~~~~~~
  1800. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1801. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1802. | ^~~~~~~~~~~~~~~~~
  1803. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1804. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1805. | ~~~~~~~~~~~~~~~~~^~~
  1806. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1807. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1808. | ^~~~~~~~~~~~~~~~
  1809. src/gp_functions.cpp:498:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1810. 498 | ARGS_GetBYTEArray(4, BYTE, NewPIN);
  1811. | ^~~~~~~~~~~~~~~~~
  1812. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1813. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1814. | ^~~~~~~~~~~~~~~~~
  1815. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_3des_key(PyObject*, PyObject*)’:
  1816. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1817. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1818. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1819. src/gp_functions.cpp:512:5: note: in expansion of macro ‘ARGS_GetStruct’
  1820. 512 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1821. | ^~~~~~~~~~~~~~
  1822. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1823. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1824. | ^~~~~~~~~~~~~~~~~
  1825. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1826. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1827. | ~~~~~~~~~~~~~~~~~^~~
  1828. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1829. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1830. | ^~~~~~~~~~~~~~~~
  1831. src/gp_functions.cpp:516:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1832. 516 | ARGS_GetBYTEArray(6, BYTE, 3DESKey);
  1833. | ^~~~~~~~~~~~~~~~~
  1834. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1835. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1836. | ^~~~~~~~~~~~~~~~~
  1837. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_rsa_key(PyObject*, PyObject*)’:
  1838. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1839. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1840. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1841. src/gp_functions.cpp:529:5: note: in expansion of macro ‘ARGS_GetStruct’
  1842. 529 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1843. | ^~~~~~~~~~~~~~
  1844. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1845. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1846. | ^~~~~~~~~~~~~~~~~
  1847. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1848. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  1849. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1850. src/gp_functions.cpp:533:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  1851. 533 | ARGS_GetTCHARArray(6, PEMKeyFileName);
  1852. | ^~~~~~~~~~~~~~~~~~
  1853. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1854. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1855. | ^~~~~~~~~~~~~~~~~
  1856. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1857. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1858. | ~~~~~~~~~~~~~~~~~^~~
  1859. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1860. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1861. | ^~~~~~~~~~~~~~~~
  1862. src/gp_functions.cpp:534:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1863. 534 | ARGS_GetBYTEArray(7, char, PassPhrase);
  1864. | ^~~~~~~~~~~~~~~~~
  1865. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1866. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1867. | ^~~~~~~~~~~~~~~~~
  1868. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_secure_channel_keys(PyObject*, PyObject*)’:
  1869. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1870. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1871. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1872. src/gp_functions.cpp:548:5: note: in expansion of macro ‘ARGS_GetStruct’
  1873. 548 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1874. | ^~~~~~~~~~~~~~
  1875. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1876. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1877. | ^~~~~~~~~~~~~~~~~
  1878. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1879. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1880. | ~~~~~~~~~~~~~~~~~^~~
  1881. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1882. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1883. | ^~~~~~~~~~~~~~~~
  1884. src/gp_functions.cpp:551:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1885. 551 | ARGS_GetBYTEArray(5, BYTE, NewBaseKey);
  1886. | ^~~~~~~~~~~~~~~~~
  1887. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1888. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1889. | ^~~~~~~~~~~~~~~~~
  1890. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1891. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1892. | ~~~~~~~~~~~~~~~~~^~~
  1893. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1894. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1895. | ^~~~~~~~~~~~~~~~
  1896. src/gp_functions.cpp:552:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1897. 552 | ARGS_GetBYTEArray(6, BYTE, NewENCKey);
  1898. | ^~~~~~~~~~~~~~~~~
  1899. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1900. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1901. | ^~~~~~~~~~~~~~~~~
  1902. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1903. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1904. | ~~~~~~~~~~~~~~~~~^~~
  1905. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1906. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1907. | ^~~~~~~~~~~~~~~~
  1908. src/gp_functions.cpp:553:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1909. 553 | ARGS_GetBYTEArray(7, BYTE, NewMACKey);
  1910. | ^~~~~~~~~~~~~~~~~
  1911. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1912. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1913. | ^~~~~~~~~~~~~~~~~
  1914. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1915. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1916. | ~~~~~~~~~~~~~~~~~^~~
  1917. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1918. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1919. | ^~~~~~~~~~~~~~~~
  1920. src/gp_functions.cpp:554:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1921. 554 | ARGS_GetBYTEArray(8, BYTE, NewDEKKey);
  1922. | ^~~~~~~~~~~~~~~~~
  1923. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1924. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1925. | ^~~~~~~~~~~~~~~~~
  1926. 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)’
  1927. 556 | OPGP_ERROR_STATUS errorStatus = GP211_put_secure_channel_keys(stCardContext, stCardInfo, pstSecurityInfo, bKeySetVersion, bNewKeySetVersion, pNewBaseKey, pNewENCKey, pNewMACKey, pNewDEKKey);
  1928. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1929. /usr/local/include/globalplatform/globalplatform.h:510:19: note: declared here
  1930. 510 | OPGP_ERROR_STATUS GP211_put_secure_channel_keys(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
  1931. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1932. src/gp_functions.cpp: In function ‘PyObject* pyGP211_delete_key(PyObject*, PyObject*)’:
  1933. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1934. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1935. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1936. src/gp_functions.cpp:568:5: note: in expansion of macro ‘ARGS_GetStruct’
  1937. 568 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1938. | ^~~~~~~~~~~~~~
  1939. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1940. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1941. | ^~~~~~~~~~~~~~~~~
  1942. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_key_information_templates(PyObject*, PyObject*)’:
  1943. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1944. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1945. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1946. src/gp_functions.cpp:584:5: note: in expansion of macro ‘ARGS_GetStruct’
  1947. 584 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1948. | ^~~~~~~~~~~~~~
  1949. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1950. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1951. | ^~~~~~~~~~~~~~~~~
  1952. src/gp_functions.cpp: In function ‘PyObject* pyGP211_delete_application(PyObject*, PyObject*)’:
  1953. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1954. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1955. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1956. src/gp_functions.cpp:601:5: note: in expansion of macro ‘ARGS_GetStruct’
  1957. 601 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1958. | ^~~~~~~~~~~~~~
  1959. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1960. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1961. | ^~~~~~~~~~~~~~~~~
  1962. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1963. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1964. | ~~~~~~~~~~~~~~~~~^~~
  1965. src/gp_functions.cpp:615:33: note: in expansion of macro ‘_PyArray_GetSize’
  1966. 615 | BYTE bAidLength = (BYTE)_PyArray_GetSize(pobjAID);
  1967. | ^~~~~~~~~~~~~~~~
  1968. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1969. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1970. | ^~~~~~~~~~~~~~~~~
  1971. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_load(PyObject*, PyObject*)’:
  1972. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1973. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  1974. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  1975. src/gp_functions.cpp:635:5: note: in expansion of macro ‘ARGS_GetStruct’
  1976. 635 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  1977. | ^~~~~~~~~~~~~~
  1978. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1979. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1980. | ^~~~~~~~~~~~~~~~~
  1981. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1982. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1983. | ~~~~~~~~~~~~~~~~~^~~
  1984. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1985. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1986. | ^~~~~~~~~~~~~~~~
  1987. src/gp_functions.cpp:636:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  1988. 636 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
  1989. | ^~~~~~~~~~~~~~~~~
  1990. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  1991. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  1992. | ^~~~~~~~~~~~~~~~~
  1993. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  1994. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  1995. | ~~~~~~~~~~~~~~~~~^~~
  1996. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  1997. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  1998. | ^~~~~~~~~~~~~~~~
  1999. src/gp_functions.cpp:637:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2000. 637 | ARGS_GetBYTEArray(4, BYTE, SecurityDomainAID);
  2001. | ^~~~~~~~~~~~~~~~~
  2002. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2003. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2004. | ^~~~~~~~~~~~~~~~~
  2005. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2006. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2007. | ~~~~~~~~~~~~~~~~~^~~
  2008. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2009. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2010. | ^~~~~~~~~~~~~~~~
  2011. src/gp_functions.cpp:638:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2012. 638 | ARGS_GetBYTEArray(5, BYTE, LoadFileDataBlockHash);
  2013. | ^~~~~~~~~~~~~~~~~
  2014. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2015. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2016. | ^~~~~~~~~~~~~~~~~
  2017. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2018. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2019. | ~~~~~~~~~~~~~~~~~^~~
  2020. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2021. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2022. | ^~~~~~~~~~~~~~~~
  2023. src/gp_functions.cpp:639:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2024. 639 | ARGS_GetBYTEArray(6, BYTE, LoadToken);
  2025. | ^~~~~~~~~~~~~~~~~
  2026. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2027. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2028. | ^~~~~~~~~~~~~~~~~
  2029. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_extradition_token_signature_data(PyObject*, PyObject*)’:
  2030. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2031. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2032. | ~~~~~~~~~~~~~~~~~^~~
  2033. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2034. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2035. | ^~~~~~~~~~~~~~~~
  2036. src/gp_functions.cpp:655:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2037. 655 | ARGS_GetBYTEArray(0, BYTE, SecurityDomainAID);
  2038. | ^~~~~~~~~~~~~~~~~
  2039. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2040. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2041. | ^~~~~~~~~~~~~~~~~
  2042. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2043. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2044. | ~~~~~~~~~~~~~~~~~^~~
  2045. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2046. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2047. | ^~~~~~~~~~~~~~~~
  2048. src/gp_functions.cpp:656:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2049. 656 | ARGS_GetBYTEArray(1, BYTE, ApplicationAID);
  2050. | ^~~~~~~~~~~~~~~~~
  2051. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2052. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2053. | ^~~~~~~~~~~~~~~~~
  2054. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_load_token_signature_data(PyObject*, PyObject*)’:
  2055. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2056. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2057. | ~~~~~~~~~~~~~~~~~^~~
  2058. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2059. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2060. | ^~~~~~~~~~~~~~~~
  2061. src/gp_functions.cpp:670:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2062. 670 | ARGS_GetBYTEArray(0, BYTE, ExecutableLoadFileAID);
  2063. | ^~~~~~~~~~~~~~~~~
  2064. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2065. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2066. | ^~~~~~~~~~~~~~~~~
  2067. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2068. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2069. | ~~~~~~~~~~~~~~~~~^~~
  2070. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2071. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2072. | ^~~~~~~~~~~~~~~~
  2073. src/gp_functions.cpp:671:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2074. 671 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
  2075. | ^~~~~~~~~~~~~~~~~
  2076. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2077. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2078. | ^~~~~~~~~~~~~~~~~
  2079. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2080. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2081. | ~~~~~~~~~~~~~~~~~^~~
  2082. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2083. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2084. | ^~~~~~~~~~~~~~~~
  2085. src/gp_functions.cpp:672:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2086. 672 | ARGS_GetBYTEArray(2, BYTE, LoadFileDataBlockHash);
  2087. | ^~~~~~~~~~~~~~~~~
  2088. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2089. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2090. | ^~~~~~~~~~~~~~~~~
  2091. src/gp_functions.cpp: In function ‘PyObject* pyGP211_get_install_token_signature_data(PyObject*, PyObject*)’:
  2092. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2093. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2094. | ~~~~~~~~~~~~~~~~~^~~
  2095. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2096. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2097. | ^~~~~~~~~~~~~~~~
  2098. src/gp_functions.cpp:690:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2099. 690 | ARGS_GetBYTEArray(1, BYTE, ExecutableLoadFileAID);
  2100. | ^~~~~~~~~~~~~~~~~
  2101. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2102. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2103. | ^~~~~~~~~~~~~~~~~
  2104. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2105. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2106. | ~~~~~~~~~~~~~~~~~^~~
  2107. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2108. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2109. | ^~~~~~~~~~~~~~~~
  2110. src/gp_functions.cpp:691:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2111. 691 | ARGS_GetBYTEArray(2, BYTE, ExecutableModuleAID);
  2112. | ^~~~~~~~~~~~~~~~~
  2113. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2114. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2115. | ^~~~~~~~~~~~~~~~~
  2116. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2117. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2118. | ~~~~~~~~~~~~~~~~~^~~
  2119. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2120. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2121. | ^~~~~~~~~~~~~~~~
  2122. src/gp_functions.cpp:692:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2123. 692 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
  2124. | ^~~~~~~~~~~~~~~~~
  2125. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2126. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2127. | ^~~~~~~~~~~~~~~~~
  2128. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2129. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2130. | ~~~~~~~~~~~~~~~~~^~~
  2131. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2132. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2133. | ^~~~~~~~~~~~~~~~
  2134. src/gp_functions.cpp:696:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2135. 696 | ARGS_GetBYTEArray(7, BYTE, InstallParameters);
  2136. | ^~~~~~~~~~~~~~~~~
  2137. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2138. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2139. | ^~~~~~~~~~~~~~~~~
  2140. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_load_token(PyObject*, PyObject*)’:
  2141. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2142. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2143. | ~~~~~~~~~~~~~~~~~^~~
  2144. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2145. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2146. | ^~~~~~~~~~~~~~~~
  2147. src/gp_functions.cpp:710:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2148. 710 | ARGS_GetBYTEArray(0, BYTE, ExecutableLoadFileAID);
  2149. | ^~~~~~~~~~~~~~~~~
  2150. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2151. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2152. | ^~~~~~~~~~~~~~~~~
  2153. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2154. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2155. | ~~~~~~~~~~~~~~~~~^~~
  2156. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2157. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2158. | ^~~~~~~~~~~~~~~~
  2159. src/gp_functions.cpp:711:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2160. 711 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
  2161. | ^~~~~~~~~~~~~~~~~
  2162. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2163. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2164. | ^~~~~~~~~~~~~~~~~
  2165. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2166. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2167. | ~~~~~~~~~~~~~~~~~^~~
  2168. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2169. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2170. | ^~~~~~~~~~~~~~~~
  2171. src/gp_functions.cpp:712:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2172. 712 | ARGS_GetBYTEArray(2, BYTE, LoadFileDataBlockHash);
  2173. | ^~~~~~~~~~~~~~~~~
  2174. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2175. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2176. | ^~~~~~~~~~~~~~~~~
  2177. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2178. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  2179. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2180. src/gp_functions.cpp:716:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  2181. 716 | ARGS_GetTCHARArray(6, PEMKeyFileName);
  2182. | ^~~~~~~~~~~~~~~~~~
  2183. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2184. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2185. | ^~~~~~~~~~~~~~~~~
  2186. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2187. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2188. | ~~~~~~~~~~~~~~~~~^~~
  2189. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2190. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2191. | ^~~~~~~~~~~~~~~~
  2192. src/gp_functions.cpp:717:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2193. 717 | ARGS_GetBYTEArray(7, char, PassPhrase);
  2194. | ^~~~~~~~~~~~~~~~~
  2195. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2196. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2197. | ^~~~~~~~~~~~~~~~~
  2198. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_install_token(PyObject*, PyObject*)’:
  2199. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2200. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2201. | ~~~~~~~~~~~~~~~~~^~~
  2202. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2203. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2204. | ^~~~~~~~~~~~~~~~
  2205. src/gp_functions.cpp:731:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2206. 731 | ARGS_GetBYTEArray(1, BYTE, ExecutableLoadFileAID);
  2207. | ^~~~~~~~~~~~~~~~~
  2208. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2209. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2210. | ^~~~~~~~~~~~~~~~~
  2211. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2212. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2213. | ~~~~~~~~~~~~~~~~~^~~
  2214. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2215. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2216. | ^~~~~~~~~~~~~~~~
  2217. src/gp_functions.cpp:732:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2218. 732 | ARGS_GetBYTEArray(2, BYTE, ExecutableModuleAID);
  2219. | ^~~~~~~~~~~~~~~~~
  2220. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2221. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2222. | ^~~~~~~~~~~~~~~~~
  2223. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2224. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2225. | ~~~~~~~~~~~~~~~~~^~~
  2226. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2227. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2228. | ^~~~~~~~~~~~~~~~
  2229. src/gp_functions.cpp:733:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2230. 733 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
  2231. | ^~~~~~~~~~~~~~~~~
  2232. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2233. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2234. | ^~~~~~~~~~~~~~~~~
  2235. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2236. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2237. | ~~~~~~~~~~~~~~~~~^~~
  2238. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2239. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2240. | ^~~~~~~~~~~~~~~~
  2241. src/gp_functions.cpp:737:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2242. 737 | ARGS_GetBYTEArray(7, BYTE, InstallParameters);
  2243. | ^~~~~~~~~~~~~~~~~
  2244. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2245. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2246. | ^~~~~~~~~~~~~~~~~
  2247. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2248. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  2249. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2250. src/gp_functions.cpp:738:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  2251. 738 | ARGS_GetTCHARArray(8, PEMKeyFileName);
  2252. | ^~~~~~~~~~~~~~~~~~
  2253. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2254. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2255. | ^~~~~~~~~~~~~~~~~
  2256. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_load_file_data_block_hash(PyObject*, PyObject*)’:
  2257. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2258. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  2259. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2260. src/gp_functions.cpp:757:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  2261. 757 | ARGS_GetTCHARArray(0, PEMKeyFileName);
  2262. | ^~~~~~~~~~~~~~~~~~
  2263. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2264. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2265. | ^~~~~~~~~~~~~~~~~
  2266. 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)’
  2267. 760 | OPGP_ERROR_STATUS errorStatus = GP211_calculate_load_file_data_block_hash((OPGP_STRING)pPEMKeyFileName, baHash);
  2268. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2269. /usr/local/include/globalplatform/globalplatform.h:614:19: note: declared here
  2270. 614 | OPGP_ERROR_STATUS GP211_calculate_load_file_data_block_hash(OPGP_STRING executableLoadFileName,
  2271. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2272. src/gp_functions.cpp: In function ‘PyObject* pyGP211_load(PyObject*, PyObject*)’:
  2273. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2274. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2275. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2276. src/gp_functions.cpp:774:5: note: in expansion of macro ‘ARGS_GetStruct’
  2277. 774 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2278. | ^~~~~~~~~~~~~~
  2279. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2280. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2281. | ^~~~~~~~~~~~~~~~~
  2282. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2283. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2284. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2285. src/gp_functions.cpp:775:5: note: in expansion of macro ‘ARGS_GetStruct’
  2286. 775 | ARGS_GetStruct(3, GP211_DAP_BLOCK, DapBlock);
  2287. | ^~~~~~~~~~~~~~
  2288. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2289. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2290. | ^~~~~~~~~~~~~~~~~
  2291. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2292. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  2293. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2294. src/gp_functions.cpp:776:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  2295. 776 | ARGS_GetTCHARArray(4, ExecutableLoadFileName);
  2296. | ^~~~~~~~~~~~~~~~~~
  2297. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2298. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2299. | ^~~~~~~~~~~~~~~~~
  2300. src/gp_functions.cpp: In function ‘PyObject* pyGP211_load_from_buffer(PyObject*, PyObject*)’:
  2301. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2302. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2303. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2304. src/gp_functions.cpp:796:5: note: in expansion of macro ‘ARGS_GetStruct’
  2305. 796 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2306. | ^~~~~~~~~~~~~~
  2307. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2308. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2309. | ^~~~~~~~~~~~~~~~~
  2310. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2311. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2312. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2313. src/gp_functions.cpp:797:5: note: in expansion of macro ‘ARGS_GetStruct’
  2314. 797 | ARGS_GetStruct(3, GP211_DAP_BLOCK, DapBlock);
  2315. | ^~~~~~~~~~~~~~
  2316. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2317. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2318. | ^~~~~~~~~~~~~~~~~
  2319. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2320. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2321. | ~~~~~~~~~~~~~~~~~^~~
  2322. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2323. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2324. | ^~~~~~~~~~~~~~~~
  2325. src/gp_functions.cpp:798:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2326. 798 | ARGS_GetBYTEArray(4, BYTE, LoadFileBuf);
  2327. | ^~~~~~~~~~~~~~~~~
  2328. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2329. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2330. | ^~~~~~~~~~~~~~~~~
  2331. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_install(PyObject*, PyObject*)’:
  2332. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2333. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2334. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2335. src/gp_functions.cpp:817:5: note: in expansion of macro ‘ARGS_GetStruct’
  2336. 817 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2337. | ^~~~~~~~~~~~~~
  2338. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2339. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2340. | ^~~~~~~~~~~~~~~~~
  2341. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2342. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2343. | ~~~~~~~~~~~~~~~~~^~~
  2344. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2345. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2346. | ^~~~~~~~~~~~~~~~
  2347. src/gp_functions.cpp:818:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2348. 818 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
  2349. | ^~~~~~~~~~~~~~~~~
  2350. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2351. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2352. | ^~~~~~~~~~~~~~~~~
  2353. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2354. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2355. | ~~~~~~~~~~~~~~~~~^~~
  2356. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2357. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2358. | ^~~~~~~~~~~~~~~~
  2359. src/gp_functions.cpp:819:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2360. 819 | ARGS_GetBYTEArray(4, BYTE, ExecutableModuleAID);
  2361. | ^~~~~~~~~~~~~~~~~
  2362. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2363. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2364. | ^~~~~~~~~~~~~~~~~
  2365. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2366. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2367. | ~~~~~~~~~~~~~~~~~^~~
  2368. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2369. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2370. | ^~~~~~~~~~~~~~~~
  2371. src/gp_functions.cpp:820:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2372. 820 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
  2373. | ^~~~~~~~~~~~~~~~~
  2374. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2375. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2376. | ^~~~~~~~~~~~~~~~~
  2377. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2378. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2379. | ~~~~~~~~~~~~~~~~~^~~
  2380. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2381. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2382. | ^~~~~~~~~~~~~~~~
  2383. src/gp_functions.cpp:824:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2384. 824 | ARGS_GetBYTEArray(9, BYTE, InstallParameters);
  2385. | ^~~~~~~~~~~~~~~~~
  2386. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2387. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2388. | ^~~~~~~~~~~~~~~~~
  2389. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2390. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2391. | ~~~~~~~~~~~~~~~~~^~~
  2392. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2393. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2394. | ^~~~~~~~~~~~~~~~
  2395. src/gp_functions.cpp:825:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2396. 825 | ARGS_GetBYTEArray(10, BYTE, InstallToken);
  2397. | ^~~~~~~~~~~~~~~~~
  2398. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2399. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2400. | ^~~~~~~~~~~~~~~~~
  2401. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_make_selectable(PyObject*, PyObject*)’:
  2402. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2403. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2404. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2405. src/gp_functions.cpp:844:5: note: in expansion of macro ‘ARGS_GetStruct’
  2406. 844 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2407. | ^~~~~~~~~~~~~~
  2408. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2409. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2410. | ^~~~~~~~~~~~~~~~~
  2411. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2412. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2413. | ~~~~~~~~~~~~~~~~~^~~
  2414. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2415. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2416. | ^~~~~~~~~~~~~~~~
  2417. src/gp_functions.cpp:845:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2418. 845 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
  2419. | ^~~~~~~~~~~~~~~~~
  2420. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2421. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2422. | ^~~~~~~~~~~~~~~~~
  2423. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2424. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2425. | ~~~~~~~~~~~~~~~~~^~~
  2426. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2427. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2428. | ^~~~~~~~~~~~~~~~
  2429. src/gp_functions.cpp:847:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2430. 847 | ARGS_GetBYTEArray(5, BYTE, InstallToken);
  2431. | ^~~~~~~~~~~~~~~~~
  2432. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2433. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2434. | ^~~~~~~~~~~~~~~~~
  2435. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_install_and_make_selectable(PyObject*, PyObject*)’:
  2436. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2437. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2438. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2439. src/gp_functions.cpp:866:5: note: in expansion of macro ‘ARGS_GetStruct’
  2440. 866 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2441. | ^~~~~~~~~~~~~~
  2442. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2443. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2444. | ^~~~~~~~~~~~~~~~~
  2445. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2446. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2447. | ~~~~~~~~~~~~~~~~~^~~
  2448. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2449. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2450. | ^~~~~~~~~~~~~~~~
  2451. src/gp_functions.cpp:867:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2452. 867 | ARGS_GetBYTEArray(3, BYTE, ExecutableLoadFileAID);
  2453. | ^~~~~~~~~~~~~~~~~
  2454. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2455. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2456. | ^~~~~~~~~~~~~~~~~
  2457. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2458. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2459. | ~~~~~~~~~~~~~~~~~^~~
  2460. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2461. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2462. | ^~~~~~~~~~~~~~~~
  2463. src/gp_functions.cpp:868:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2464. 868 | ARGS_GetBYTEArray(4, BYTE, ExecutableModuleAID);
  2465. | ^~~~~~~~~~~~~~~~~
  2466. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2467. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2468. | ^~~~~~~~~~~~~~~~~
  2469. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2470. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2471. | ~~~~~~~~~~~~~~~~~^~~
  2472. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2473. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2474. | ^~~~~~~~~~~~~~~~
  2475. src/gp_functions.cpp:869:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2476. 869 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
  2477. | ^~~~~~~~~~~~~~~~~
  2478. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2479. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2480. | ^~~~~~~~~~~~~~~~~
  2481. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2482. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2483. | ~~~~~~~~~~~~~~~~~^~~
  2484. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2485. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2486. | ^~~~~~~~~~~~~~~~
  2487. src/gp_functions.cpp:873:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2488. 873 | ARGS_GetBYTEArray(9, BYTE, InstallParameters);
  2489. | ^~~~~~~~~~~~~~~~~
  2490. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2491. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2492. | ^~~~~~~~~~~~~~~~~
  2493. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2494. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2495. | ~~~~~~~~~~~~~~~~~^~~
  2496. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2497. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2498. | ^~~~~~~~~~~~~~~~
  2499. src/gp_functions.cpp:874:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2500. 874 | ARGS_GetBYTEArray(10, BYTE, InstallToken);
  2501. | ^~~~~~~~~~~~~~~~~
  2502. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2503. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2504. | ^~~~~~~~~~~~~~~~~
  2505. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_personalization(PyObject*, PyObject*)’:
  2506. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2507. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2508. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2509. src/gp_functions.cpp:894:5: note: in expansion of macro ‘ARGS_GetStruct’
  2510. 894 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2511. | ^~~~~~~~~~~~~~
  2512. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2513. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2514. | ^~~~~~~~~~~~~~~~~
  2515. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2516. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2517. | ~~~~~~~~~~~~~~~~~^~~
  2518. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2519. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2520. | ^~~~~~~~~~~~~~~~
  2521. src/gp_functions.cpp:895:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2522. 895 | ARGS_GetBYTEArray(3, BYTE, ApplicationAID);
  2523. | ^~~~~~~~~~~~~~~~~
  2524. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2525. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2526. | ^~~~~~~~~~~~~~~~~
  2527. src/gp_functions.cpp: In function ‘PyObject* pyGP211_install_for_extradition(PyObject*, PyObject*)’:
  2528. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2529. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2530. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2531. src/gp_functions.cpp:909:5: note: in expansion of macro ‘ARGS_GetStruct’
  2532. 909 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2533. | ^~~~~~~~~~~~~~
  2534. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2535. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2536. | ^~~~~~~~~~~~~~~~~
  2537. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2538. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2539. | ~~~~~~~~~~~~~~~~~^~~
  2540. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2541. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2542. | ^~~~~~~~~~~~~~~~
  2543. src/gp_functions.cpp:910:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2544. 910 | ARGS_GetBYTEArray(3, BYTE, SecurityDomainAID);
  2545. | ^~~~~~~~~~~~~~~~~
  2546. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2547. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2548. | ^~~~~~~~~~~~~~~~~
  2549. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2550. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2551. | ~~~~~~~~~~~~~~~~~^~~
  2552. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2553. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2554. | ^~~~~~~~~~~~~~~~
  2555. src/gp_functions.cpp:911:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2556. 911 | ARGS_GetBYTEArray(4, BYTE, ApplicationAID);
  2557. | ^~~~~~~~~~~~~~~~~
  2558. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2559. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2560. | ^~~~~~~~~~~~~~~~~
  2561. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2562. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2563. | ~~~~~~~~~~~~~~~~~^~~
  2564. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2565. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2566. | ^~~~~~~~~~~~~~~~
  2567. src/gp_functions.cpp:912:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2568. 912 | ARGS_GetBYTEArray(5, BYTE, ExtrationToken);
  2569. | ^~~~~~~~~~~~~~~~~
  2570. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2571. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2572. | ^~~~~~~~~~~~~~~~~
  2573. src/gp_functions.cpp: In function ‘PyObject* pyGP211_put_delegated_management_keys(PyObject*, PyObject*)’:
  2574. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2575. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2576. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2577. src/gp_functions.cpp:931:5: note: in expansion of macro ‘ARGS_GetStruct’
  2578. 931 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2579. | ^~~~~~~~~~~~~~
  2580. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2581. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2582. | ^~~~~~~~~~~~~~~~~
  2583. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2584. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  2585. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2586. src/gp_functions.cpp:934:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  2587. 934 | ARGS_GetTCHARArray(5, PEMKeyFileName);
  2588. | ^~~~~~~~~~~~~~~~~~
  2589. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2590. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2591. | ^~~~~~~~~~~~~~~~~
  2592. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2593. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2594. | ~~~~~~~~~~~~~~~~~^~~
  2595. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2596. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2597. | ^~~~~~~~~~~~~~~~
  2598. src/gp_functions.cpp:935:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2599. 935 | ARGS_GetBYTEArray(6, char, PassPhrase);
  2600. | ^~~~~~~~~~~~~~~~~
  2601. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2602. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2603. | ^~~~~~~~~~~~~~~~~
  2604. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2605. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2606. | ~~~~~~~~~~~~~~~~~^~~
  2607. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2608. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2609. | ^~~~~~~~~~~~~~~~
  2610. src/gp_functions.cpp:936:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2611. 936 | ARGS_GetBYTEArray(7, BYTE, ReceiptKey);
  2612. | ^~~~~~~~~~~~~~~~~
  2613. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2614. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2615. | ^~~~~~~~~~~~~~~~~
  2616. 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)’
  2617. 938 | OPGP_ERROR_STATUS errorStatus = GP211_put_delegated_management_keys(stCardContext, stCardInfo, pstSecurityInfo, bKeySetVersion, bNewKeySetVersion, (OPGP_STRING)pPEMKeyFileName, pPassPhrase, pReceiptKey);
  2618. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2619. /usr/local/include/globalplatform/globalplatform.h:697:19: note: declared here
  2620. 697 | OPGP_ERROR_STATUS GP211_put_delegated_management_keys(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
  2621. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2622. src/gp_functions.cpp: In function ‘PyObject* pyGP211_send_APDU(PyObject*, PyObject*)’:
  2623. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2624. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2625. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2626. src/gp_functions.cpp:950:5: note: in expansion of macro ‘ARGS_GetStruct’
  2627. 950 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2628. | ^~~~~~~~~~~~~~
  2629. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2630. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2631. | ^~~~~~~~~~~~~~~~~
  2632. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2633. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2634. | ~~~~~~~~~~~~~~~~~^~~
  2635. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2636. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2637. | ^~~~~~~~~~~~~~~~
  2638. src/gp_functions.cpp:951:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2639. 951 | ARGS_GetBYTEArray(3, BYTE, CApdu);
  2640. | ^~~~~~~~~~~~~~~~~
  2641. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2642. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2643. | ^~~~~~~~~~~~~~~~~
  2644. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_3des_DAP(PyObject*, PyObject*)’:
  2645. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2646. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2647. | ~~~~~~~~~~~~~~~~~^~~
  2648. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2649. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2650. | ^~~~~~~~~~~~~~~~
  2651. src/gp_functions.cpp:965:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2652. 965 | ARGS_GetBYTEArray(0, BYTE, LoadFileDataBlockHash);
  2653. | ^~~~~~~~~~~~~~~~~
  2654. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2655. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2656. | ^~~~~~~~~~~~~~~~~
  2657. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2658. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2659. | ~~~~~~~~~~~~~~~~~^~~
  2660. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2661. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2662. | ^~~~~~~~~~~~~~~~
  2663. src/gp_functions.cpp:966:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2664. 966 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
  2665. | ^~~~~~~~~~~~~~~~~
  2666. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2667. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2668. | ^~~~~~~~~~~~~~~~~
  2669. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2670. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2671. | ~~~~~~~~~~~~~~~~~^~~
  2672. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2673. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2674. | ^~~~~~~~~~~~~~~~
  2675. src/gp_functions.cpp:967:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2676. 967 | ARGS_GetBYTEArray(2, BYTE, DAPCalculationKey);
  2677. | ^~~~~~~~~~~~~~~~~
  2678. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2679. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2680. | ^~~~~~~~~~~~~~~~~
  2681. src/gp_functions.cpp:970:37: error: ‘GP211_calculate_3des_DAP’ was not declared in this scope; did you mean ‘pyGP211_calculate_3des_DAP’?
  2682. 970 | OPGP_ERROR_STATUS errorStatus = GP211_calculate_3des_DAP(pLoadFileDataBlockHash, pSecurityDomainAID, dwSecurityDomainAIDLength, pDAPCalculationKey, &stLoadFileDataBlockSignature);
  2683. | ^~~~~~~~~~~~~~~~~~~~~~~~
  2684. | pyGP211_calculate_3des_DAP
  2685. src/gp_functions.cpp: In function ‘PyObject* pyGP211_calculate_rsa_DAP(PyObject*, PyObject*)’:
  2686. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2687. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2688. | ~~~~~~~~~~~~~~~~~^~~
  2689. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2690. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2691. | ^~~~~~~~~~~~~~~~
  2692. src/gp_functions.cpp:980:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2693. 980 | ARGS_GetBYTEArray(0, BYTE, LoadFileDataBlockHash);
  2694. | ^~~~~~~~~~~~~~~~~
  2695. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2696. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2697. | ^~~~~~~~~~~~~~~~~
  2698. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2699. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2700. | ~~~~~~~~~~~~~~~~~^~~
  2701. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2702. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2703. | ^~~~~~~~~~~~~~~~
  2704. src/gp_functions.cpp:981:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2705. 981 | ARGS_GetBYTEArray(1, BYTE, SecurityDomainAID);
  2706. | ^~~~~~~~~~~~~~~~~
  2707. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2708. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2709. | ^~~~~~~~~~~~~~~~~
  2710. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2711. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  2712. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2713. src/gp_functions.cpp:982:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  2714. 982 | ARGS_GetTCHARArray(2, PEMKeyFileName);
  2715. | ^~~~~~~~~~~~~~~~~~
  2716. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2717. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2718. | ^~~~~~~~~~~~~~~~~
  2719. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2720. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2721. | ~~~~~~~~~~~~~~~~~^~~
  2722. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2723. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2724. | ^~~~~~~~~~~~~~~~
  2725. src/gp_functions.cpp:983:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2726. 983 | ARGS_GetBYTEArray(3, char, PassPhrase);
  2727. | ^~~~~~~~~~~~~~~~~
  2728. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2729. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2730. | ^~~~~~~~~~~~~~~~~
  2731. src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_delete_receipt(PyObject*, PyObject*)’:
  2732. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2733. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2734. | ~~~~~~~~~~~~~~~~~^~~
  2735. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2736. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2737. | ^~~~~~~~~~~~~~~~
  2738. src/gp_functions.cpp:997:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2739. 997 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
  2740. | ^~~~~~~~~~~~~~~~~
  2741. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2742. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2743. | ^~~~~~~~~~~~~~~~~
  2744. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2745. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2746. | ~~~~~~~~~~~~~~~~~^~~
  2747. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2748. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2749. | ^~~~~~~~~~~~~~~~
  2750. src/gp_functions.cpp:998:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2751. 998 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
  2752. | ^~~~~~~~~~~~~~~~~
  2753. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2754. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2755. | ^~~~~~~~~~~~~~~~~
  2756. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2757. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2758. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2759. src/gp_functions.cpp:999:5: note: in expansion of macro ‘ARGS_GetStruct’
  2760. 999 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
  2761. | ^~~~~~~~~~~~~~
  2762. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2763. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2764. | ^~~~~~~~~~~~~~~~~
  2765. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2766. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2767. | ~~~~~~~~~~~~~~~~~^~~
  2768. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2769. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2770. | ^~~~~~~~~~~~~~~~
  2771. src/gp_functions.cpp:1000:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2772. 1000 | ARGS_GetBYTEArray(4, BYTE, AID);
  2773. | ^~~~~~~~~~~~~~~~~
  2774. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2775. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2776. | ^~~~~~~~~~~~~~~~~
  2777. src/gp_functions.cpp:1002:144: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
  2778. 1002 | OPGP_ERROR_STATUS errorStatus = GP211_validate_delete_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pAID, dwAIDLength);
  2779. | ^~~~~~~~~~~~~
  2780. | |
  2781. | GP211_RECEIPT_DATA
  2782. /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)’
  2783. 725 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
  2784. | ~~~~~~^~~~~~~~~
  2785. src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_install_receipt(PyObject*, PyObject*)’:
  2786. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2787. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2788. | ~~~~~~~~~~~~~~~~~^~~
  2789. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2790. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2791. | ^~~~~~~~~~~~~~~~
  2792. src/gp_functions.cpp:1013:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2793. 1013 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
  2794. | ^~~~~~~~~~~~~~~~~
  2795. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2796. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2797. | ^~~~~~~~~~~~~~~~~
  2798. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2799. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2800. | ~~~~~~~~~~~~~~~~~^~~
  2801. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2802. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2803. | ^~~~~~~~~~~~~~~~
  2804. src/gp_functions.cpp:1014:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2805. 1014 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
  2806. | ^~~~~~~~~~~~~~~~~
  2807. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2808. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2809. | ^~~~~~~~~~~~~~~~~
  2810. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2811. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2812. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2813. src/gp_functions.cpp:1015:5: note: in expansion of macro ‘ARGS_GetStruct’
  2814. 1015 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
  2815. | ^~~~~~~~~~~~~~
  2816. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2817. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2818. | ^~~~~~~~~~~~~~~~~
  2819. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2820. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2821. | ~~~~~~~~~~~~~~~~~^~~
  2822. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2823. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2824. | ^~~~~~~~~~~~~~~~
  2825. src/gp_functions.cpp:1016:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2826. 1016 | ARGS_GetBYTEArray(4, BYTE, ExecutableLoadFileAID);
  2827. | ^~~~~~~~~~~~~~~~~
  2828. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2829. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2830. | ^~~~~~~~~~~~~~~~~
  2831. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2832. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2833. | ~~~~~~~~~~~~~~~~~^~~
  2834. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2835. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2836. | ^~~~~~~~~~~~~~~~
  2837. src/gp_functions.cpp:1017:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2838. 1017 | ARGS_GetBYTEArray(5, BYTE, ApplicationAID);
  2839. | ^~~~~~~~~~~~~~~~~
  2840. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2841. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2842. | ^~~~~~~~~~~~~~~~~
  2843. src/gp_functions.cpp:1019:145: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
  2844. 1019 | OPGP_ERROR_STATUS errorStatus = GP211_validate_install_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pExecutableLoadFileAID, dwExecutableLoadFileAIDLength, pApplicationAID, dwApplicationAIDLength);
  2845. | ^~~~~~~~~~~~~
  2846. | |
  2847. | GP211_RECEIPT_DATA
  2848. /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)’
  2849. 732 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
  2850. | ~~~~~~^~~~~~~~~
  2851. src/gp_functions.cpp: In function ‘PyObject* pyGP211_validate_load_receipt(PyObject*, PyObject*)’:
  2852. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2853. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2854. | ~~~~~~~~~~~~~~~~~^~~
  2855. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2856. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2857. | ^~~~~~~~~~~~~~~~
  2858. src/gp_functions.cpp:1030:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2859. 1030 | ARGS_GetBYTEArray(1, BYTE, CardUniqueData);
  2860. | ^~~~~~~~~~~~~~~~~
  2861. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2862. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2863. | ^~~~~~~~~~~~~~~~~
  2864. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2865. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2866. | ~~~~~~~~~~~~~~~~~^~~
  2867. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2868. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2869. | ^~~~~~~~~~~~~~~~
  2870. src/gp_functions.cpp:1031:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2871. 1031 | ARGS_GetBYTEArray(2, BYTE, ReceiptKey);
  2872. | ^~~~~~~~~~~~~~~~~
  2873. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2874. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2875. | ^~~~~~~~~~~~~~~~~
  2876. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2877. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2878. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2879. src/gp_functions.cpp:1032:5: note: in expansion of macro ‘ARGS_GetStruct’
  2880. 1032 | ARGS_GetStruct(3, GP211_RECEIPT_DATA, ReceiptData);
  2881. | ^~~~~~~~~~~~~~
  2882. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2883. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2884. | ^~~~~~~~~~~~~~~~~
  2885. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2886. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2887. | ~~~~~~~~~~~~~~~~~^~~
  2888. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2889. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2890. | ^~~~~~~~~~~~~~~~
  2891. src/gp_functions.cpp:1033:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2892. 1033 | ARGS_GetBYTEArray(4, BYTE, ExecutableLoadFileAID);
  2893. | ^~~~~~~~~~~~~~~~~
  2894. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2895. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2896. | ^~~~~~~~~~~~~~~~~
  2897. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2898. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2899. | ~~~~~~~~~~~~~~~~~^~~
  2900. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2901. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2902. | ^~~~~~~~~~~~~~~~
  2903. src/gp_functions.cpp:1034:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2904. 1034 | ARGS_GetBYTEArray(5, BYTE, SecurityDomainAID);
  2905. | ^~~~~~~~~~~~~~~~~
  2906. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2907. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2908. | ^~~~~~~~~~~~~~~~~
  2909. src/gp_functions.cpp:1036:142: error: cannot convert ‘GP211_RECEIPT_DATA’ to ‘DWORD’ {aka ‘long unsigned int’}
  2910. 1036 | OPGP_ERROR_STATUS errorStatus = GP211_validate_load_receipt(dwConfirmationCounter, pCardUniqueData, dwCardUniqueDataLength, pReceiptKey, stReceiptData, pExecutableLoadFileAID, dwExecutableLoadFileAIDLength, pSecurityDomainAID, dwSecurityDomainAIDLength);
  2911. | ^~~~~~~~~~~~~
  2912. | |
  2913. | GP211_RECEIPT_DATA
  2914. /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)’
  2915. 740 | BYTE receiptKey[32], DWORD keyLength, GP211_RECEIPT_DATA receiptData,
  2916. | ~~~~~~^~~~~~~~~
  2917. src/gp_functions.cpp: In function ‘PyObject* pyOPGP_manage_channel(PyObject*, PyObject*)’:
  2918. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2919. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2920. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2921. src/gp_functions.cpp:1076:5: note: in expansion of macro ‘ARGS_GetStruct’
  2922. 1076 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2923. | ^~~~~~~~~~~~~~
  2924. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2925. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2926. | ^~~~~~~~~~~~~~~~~
  2927. src/gp_functions.cpp: In function ‘PyObject* pyGP211_store_data(PyObject*, PyObject*)’:
  2928. src/gp_functions.cpp:118:44: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2929. 118 | dwst##n##Length = PyUnicode_GetSize(pobj##n); \
  2930. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2931. src/gp_functions.cpp:1106:5: note: in expansion of macro ‘ARGS_GetStruct’
  2932. 1106 | ARGS_GetStruct(2, GP211_SECURITY_INFO, SecurityInfo);
  2933. | ^~~~~~~~~~~~~~
  2934. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2935. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2936. | ^~~~~~~~~~~~~~~~~
  2937. src/gp_functions.cpp:31:62: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2938. 31 | #define _PyArray_GetSize(a) PyUnicode_GetSize(a)
  2939. | ~~~~~~~~~~~~~~~~~^~~
  2940. src/gp_functions.cpp:63:33: note: in expansion of macro ‘_PyArray_GetSize’
  2941. 63 | dw##n##Length = (DWORD) _PyArray_GetSize(pobj##n); \
  2942. | ^~~~~~~~~~~~~~~~
  2943. src/gp_functions.cpp:1107:5: note: in expansion of macro ‘ARGS_GetBYTEArray’
  2944. 1107 | ARGS_GetBYTEArray(3, BYTE, Data);
  2945. | ^~~~~~~~~~~~~~~~~
  2946. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2947. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2948. | ^~~~~~~~~~~~~~~~~
  2949. src/gp_functions.cpp:1109:98: error: invalid conversion from ‘BYTE*’ {aka ‘unsigned char*’} to ‘BYTE’ {aka ‘unsigned char’} [-fpermissive]
  2950. 1109 | OPGP_ERROR_STATUS errorStatus = GP211_store_data(stCardContext, stCardInfo, pstSecurityInfo, pData, dwDataLength);
  2951. | ^~~~~
  2952. | |
  2953. | BYTE* {aka unsigned char*}
  2954. 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)’
  2955. 1109 | OPGP_ERROR_STATUS errorStatus = GP211_store_data(stCardContext, stCardInfo, pstSecurityInfo, pData, dwDataLength);
  2956. | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2957. /usr/local/include/globalplatform/globalplatform.h:774:19: note: declared here
  2958. 774 | OPGP_ERROR_STATUS GP211_store_data(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, GP211_SECURITY_INFO *secInfo,
  2959. | ^~~~~~~~~~~~~~~~
  2960. src/gp_functions.cpp: In function ‘PyObject* pyOPGP_read_executable_load_file_parameters(PyObject*, PyObject*)’:
  2961. src/gp_functions.cpp:104:53: warning: ‘Py_ssize_t PyUnicode_GetSize(PyObject*)’ is deprecated [-Wdeprecated-declarations]
  2962. 104 | dw##n##Length = (DWORD)PyUnicode_GetSize(pobj##n); \
  2963. | ~~~~~~~~~~~~~~~~~^~~~~~~~~
  2964. src/gp_functions.cpp:1131:5: note: in expansion of macro ‘ARGS_GetTCHARArray’
  2965. 1131 | ARGS_GetTCHARArray(0, LoadFileName);
  2966. | ^~~~~~~~~~~~~~~~~~
  2967. /usr/include/python3.10/unicodeobject.h:177:43: note: declared here
  2968. 177 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_ssize_t) PyUnicode_GetSize(
  2969. | ^~~~~~~~~~~~~~~~~
  2970. error: command '/usr/bin/gcc' failed with exit code 1
  2971. [end of output]
  2972.  
  2973. note: This error originates from a subprocess, and is likely not a problem with pip.
  2974. error: legacy-install-failure
  2975.  
  2976. × Encountered error while trying to install package.
  2977. ╰─> pyglobalplatform
  2978.  
  2979. note: This is an issue with the package mentioned above, not pip.
  2980. hint: See above for output from the failure.
Advertisement
Add Comment
Please, Sign In to add comment