From 55b768edfcfd636f04dbd6e015bc725e8283d4a2 Mon Sep 17 00:00:00 2001 From: heckflosse Date: Mon, 3 Apr 2017 17:16:30 +0200 Subject: [PATCH] Disabled -Wdeprecated-declarations in main.cc --- rtgui/main.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rtgui/main.cc b/rtgui/main.cc index 155d9f3ba..0af9082cf 100644 --- a/rtgui/main.cc +++ b/rtgui/main.cc @@ -21,6 +21,8 @@ #if defined(__FAST_MATH__) #error Using the -ffast-math CFLAG is known to lead to problems. Disable it to compile RawTherapee. #endif +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif #include "config.h" @@ -465,3 +467,6 @@ int processLineParams( int argc, char **argv ) return errors > 0 ? -2 : 0; } +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ \ No newline at end of file