Disabled -Wdeprecated-declarations in main.cc
This commit is contained in:
@@ -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__
|
Reference in New Issue
Block a user