Abort compile when -ffast-math flag is set, Issue 2698

This commit is contained in:
Ingo
2015-02-27 14:07:01 +01:00
parent 3c435f094d
commit bb2c65be1c

View File

@@ -23,6 +23,12 @@
// This file is for your program, I won't touch it again!
#ifdef __GNUC__
#if defined(__FAST_MATH__)
#error Using the -ffast-math CFLAG is known to lead to problems. Disable it to compile RawTherapee.
#endif
#endif
#include "config.h"
#include <gtkmm.h>
#include <giomm.h>