[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-27 Thread Dong-hee Na
Dong-hee Na added the comment: Thank you Daniel for reporting and suggestion! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-27 Thread miss-islington
miss-islington added the comment: New changeset 132e31f4bf20818a469cbcdba75068f26cb19a65 by Miss Islington (bot) in branch '3.9': bpo-43335: Update macro to check gcc version (GH-24662) https://github.com/python/cpython/commit/132e31f4bf20818a469cbcdba75068f26cb19a65 -- ___

[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-27 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +23451 pull_request: https://github.com/python/cpython/pull/24665 ___ Python tracker _

[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-27 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset bf9de7ab24d9d7068645b202bc47146b9a4f2726 by Dong-hee Na in branch 'master': bpo-43335: Update macro to check gcc version (GH-24662) https://github.com/python/cpython/commit/bf9de7ab24d9d7068645b202bc47146b9a4f2726 --

[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-27 Thread DANIEL VILLENEUVE
DANIEL VILLENEUVE added the comment: I'll let you do so if it's ok for you, since I'm not equipped with Python dev tools. Regards -- ___ Python tracker ___ _

[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-26 Thread Dong-hee Na
Dong-hee Na added the comment: @Daniel Do you want to submit the patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-26 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +23448 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24662 ___ Python tracker ___

[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-26 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue43335] _ctypes/callbacks.c cannot be compiled by gcc 4.4.7 (RHEL6)

2021-02-26 Thread DANIEL VILLENEUVE
New submission from DANIEL VILLENEUVE : gcc 4.4.7 does not accept #pragma's inside functions. I made the following patch, inspired by code found in other Python source files. diff -r U/Python-3.9.2/Modules/_ctypes/callbacks.c V/Python-3.9.2/Modules/_ctypes/callbacks.c 433c433 < #if defined(__G