Author felixonmars
Recipients felixonmars, skrah
Date 2020-07-15.10:54:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594810496.64.0.595713191405.issue41302@roundup.psfhosted.org>
In-reply-to
Content
In bpo-40874, mpdecimal.h in the vendored libmpdec has defines of UNUSED while the standalone released version of mpdecimal 2.5.0 doesn't. This breaks _decimal module build with system libmpdec due to UNUSED is undefined.

Errors are like:

cpython/Modules/_decimal/_decimal.c:277:36: error: expected ‘;’, ‘,’ or ‘)’ before ‘UNUSED’
  277 | dec_traphandler(mpd_context_t *ctx UNUSED) /* GCOV_NOT_REACHED */
      |                                    ^~~~~~

Reproducible in both 3.8 branch and master (didn't test 3.9, but should be affected too).
History
Date User Action Args
2020-07-15 10:54:56felixonmarssetrecipients: + felixonmars, skrah
2020-07-15 10:54:56felixonmarssetmessageid: <1594810496.64.0.595713191405.issue41302@roundup.psfhosted.org>
2020-07-15 10:54:56felixonmarslinkissue41302 messages
2020-07-15 10:54:56felixonmarscreate