diff options
| author | Jonas Schnelli <[email protected]> | 2017-02-14 11:05:50 +0100 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2017-02-14 13:50:57 +0100 |
| commit | 4b6ccccc16b615c01939678e589f8e09cfc15d70 (patch) | |
| tree | dbd5f5828be83046111fd7f5d1f562405cc04dd2 /src/qt/guiutil.cpp | |
| parent | Merge #9736: Pre-0.14.0 hardcoded seeds update (diff) | |
| download | discoin-4b6ccccc16b615c01939678e589f8e09cfc15d70.tar.xz discoin-4b6ccccc16b615c01939678e589f8e09cfc15d70.zip | |
Selectively suppress deprecation warnings
Diffstat (limited to 'src/qt/guiutil.cpp')
| -rw-r--r-- | src/qt/guiutil.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 5d6c0e2e3..e0961fe7d 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -762,6 +762,8 @@ bool SetStartOnSystemStartup(bool fAutoStart) #elif defined(Q_OS_MAC) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // based on: https://github.com/Mozketo/LaunchAtLoginController/blob/master/LaunchAtLoginController.m #include <CoreFoundation/CoreFoundation.h> @@ -824,6 +826,7 @@ bool SetStartOnSystemStartup(bool fAutoStart) } return true; } +#pragma GCC diagnostic pop #else bool GetStartOnSystemStartup() { return false; } |