10000 bpo-43335: Update macro to check gcc version by corona10 · Pull Request #24662 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-43335: Update macro to check gcc version #24662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bpo-43335: Update macro to check gcc version
  • Loading branch information
corona10 committed Feb 27, 2021
commit b7428a471d512da3ebb2df03503301f97846952c
4 changes: 2 additions & 2 deletions Modules/_ctypes/callbacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ CThunkObject *_ctypes_alloc_callback(PyObject *callable,
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif
#if defined(__GNUC__)
#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5)))
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
Expand All @@ -440,7 +440,7 @@ CThunkObject *_ctypes_alloc_callback(PyObject *callable,
#if defined(__clang__) || defined(MACOSX)
#pragma clang diagnostic pop
#endif
#if defined(__GNUC__)
#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5)))
#pragma GCC diagnostic pop
#endif

Expand Down
0