Closed mhorowitz closed 1 year ago
Stupid GitHub, closing the issue just because I mention the number in a commit...
Anyway, yes, this is a bug, and yes, configure.sh
should detect this.
I've added 29b4b6a4f27b07c4a176258aaf831a5208d4e116 in an attempt to fix this. Unfortunately, I don't have a Mac, so you'll need to test this for me. Would you please do that? Thank you.
I've added https://github.com/gavinhoward/bc/commit/29b4b6a4f27b07c4a176258aaf831a5208d4e116 in an attempt to fix this. Unfortunately, I don't have a Mac, so you'll need to test this for me. Would you please do that? Thank you.
I tested it. ./configure.sh output includes
On Mac OSX. Using _DARWIN_C_SOURCE.
And make completes without error. Thanks for the quick fix!
Thank you for testing! And thank you for the report. I rely on users like you to help me with Mac OSX!
Release 6.6.0
is out with the fix. Thank you!
platform: MacOS Ventura 13.2.1 (m1 max) compiler: c99 from Xcode 14.2.0 version: https://git.gavinhoward.com/gavin/bc.git 55a6c05b280fbfb6873e42a5825403c17417029a
Build fails:
I think ideally, configure.sh would detect this, and apply an appropriate set of flags, or the source would be changed appropriately.
As a workaround, this allows a successful build: