HomePhabricator

Add a message to static_assert

Authored by Fabien on Fri, Aug 2, 07:36.

Description

Add a message to static_assert

Summary:
static_assert with no message is a c++17 feature, and causes clang to
generate a -Wc++17-extensions warning.

Test Plan:
With Clang:

make check

Reviewers: #bitcoin_abc, deadalnix, jasonbcox, Mengerian, markblundeberg

Reviewed By: #bitcoin_abc, deadalnix, jasonbcox, Mengerian, markblundeberg

Subscribers: Mengerian, markblundeberg, jasonbcox

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

Details

Committed
FabienTue, Aug 6, 09:01
Pushed
FabienTue, Aug 6, 09:01
Reviewer
Restricted Project
Differential Revision
D3794: Add a message to static_assert
Parents
rABC7e560769acbe: [CI] Enable the undefined behaviour sanitizer
Branches
Unknown
Tags
Unknown