Disabled -Wdeprecated-declarations in main.cc

This commit is contained in:
heckflosse
2017-04-03 17:16:30 +02:00
parent c600ad056d
commit 55b768edfc

View File

@@ -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__