HomePhabricator

Fix the build with GCC < 8

Description

Fix the build with GCC < 8

Summary:
Fix the `sorry, unimplemented: non-trivial designated initializers not
supported` failure with GCC version < 8.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606 and
https://stackoverflow.com/questions/31215971/non-trivial-designated-initializers-not-supported.

Test Plan: Build with GCC 7 and check the error is gone.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix, markblundeberg

Differential Revision: https://reviews.bitcoinabc.org/D5149

Details

Provenance
FabienAuthored on Feb 4 2020, 09:38
nakihitoPushed on Feb 4 2020, 20:22
Reviewer
Restricted Project
Differential Revision
D5149: Fix the build with GCC < 8
Parents
rSTAGING8de4c18f657c: sigcheckcount_tests: better macro
Branches
Unknown
Tags
Unknown