diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-03-14 08:51:27 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-12 18:03:39 +0300 |
commit | 839add193b13c17a40f42ff69d973caeb800d3f2 (patch) | |
tree | 4ffbccd8b44ab92793a60e4b622afdeaa5aa5a09 /src/wallet | |
parent | de5e91c3034f320f84ee0308a3c31659635d136a (diff) | |
download | bitcoin-839add193b13c17a40f42ff69d973caeb800d3f2.tar.xz |
build: Enable -Wsuggest-override
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/db.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h index d75aeff1b8..37f96a1a96 100644 --- a/src/wallet/db.h +++ b/src/wallet/db.h @@ -19,7 +19,14 @@ #include <unordered_map> #include <vector> +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wsuggest-override" +#endif #include <db_cxx.h> +#if defined(__GNUC__) && !defined(__clang__) +#pragma GCC diagnostic pop +#endif struct bilingual_str; |