Skip to content

Commit

Permalink
resolve clang / mac warnings about unknown warning
Browse files Browse the repository at this point in the history
  • Loading branch information
PastaPastaPasta committed Oct 5, 2021
1 parent 702bc8c commit 108b300
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/qt/paymentrequestplus.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
#ifndef BITCOIN_QT_PAYMENTREQUESTPLUS_H
#define BITCOIN_QT_PAYMENTREQUESTPLUS_H

#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#pragma GCC diagnostic ignored "-Wsuggest-override"
#endif
#include <qt/paymentrequest.pb.h>
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic pop
#endif

#include <amount.h>
#include <script/script.h>
Expand Down

0 comments on commit 108b300

Please sign in to comment.