Skip to content

Conversation

felixonmars
Copy link
Contributor

@felixonmars felixonmars commented Jul 15, 2020

Move definition of UNUSED from modified headers of libmpdec to
_decimal.c itself. This makes the vendored source closer to the
standalone library and fixes build with --with-system-libmpdec.

Tested to build fine with either system libmpdec or the vendored one.

https://bugs.python.org/issue41302

Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one.
@miss-islington
Copy link
Contributor

Thanks @felixonmars for the PR, and @skrah for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 15, 2020
Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one. (cherry picked from commit 015efdb) Co-authored-by: Felix Yan <felixonmars@archlinux.org>
@bedevere-bot
Copy link

GH-21486 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Jul 15, 2020
@felixonmars felixonmars deleted the bpo-41302 branch July 15, 2020 12:16
miss-islington added a commit that referenced this pull request Jul 15, 2020
Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one. (cherry picked from commit 015efdb) Co-authored-by: Felix Yan <felixonmars@archlinux.org>
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Aug 4, 2020
Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one.
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Aug 20, 2020
Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one.
xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 2020
Move definition of UNUSED from modified headers of libmpdec to _decimal.c itself. This makes the vendored source closer to the standalone library and fixes build with --with-system-libmpdec. Tested to build fine with either system libmpdec or the vendored one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants