HomePhabricator

The -Wredundant-move warning is C++ only

Description

The -Wredundant-move warning is C++ only

Summary:
Prevent the compiler message:

warning: command-line option ‘-Wredundant-move’ is valid for C++/ObjC++
but not for C

Test Plan:

ninja check

Check the message is gone.

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
FabienAuthored on May 28 2020, 19:43
FabienPushed on May 29 2020, 07:39
Reviewer
Restricted Project
Differential Revision
D6284: The -Wredundant-move warning is C++ only
Parents
rABC8298f7e118df: Fix unused -pie flag for libs
Branches
Unknown
Tags
Unknown