Bug 2179373 - bitcoin-core does not build with C99
Summary: bitcoin-core does not build with C99
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bitcoin-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Arjun Shankar
QA Contact:
URL:
Whiteboard:
: 2179371 (view as bug list)
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2023-03-17 14:27 UTC by Arjun Shankar
Modified: 2023-03-17 18:33 UTC (History)
2 users (show)

Fixed In Version: bitcoin-core-24.0.1-3.fc39
Clone Of:
Environment:
Last Closed: 2023-03-17 18:33:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Arjun Shankar 2023-03-17 14:27:27 UTC
bitcoin-core comes with a bundled version of Berkeley DB (4.8, quite old and unmaintained).  The configure script of db-4.8 encounters several "implicit int" and "implicit function declaration" errors when fragments of C in its checks are compiled as C99.  This means that future compilers that do no support implicit ints and implicit function declarations by default will fail to build bitcoin-core correctly.

Related:
https://fedoraproject.org/wiki/Changes/PortingToModernC
https://fedoraproject.org/wiki/Toolchain/PortingToModernC

Comment 1 Arjun Shankar 2023-03-17 16:48:29 UTC
*** Bug 2179371 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.