Abort compile when -ffast-math flag is set, Issue 2698
This commit is contained in:
@@ -22,6 +22,12 @@
|
||||
// newer (non customized) versions of this file go to raw.cc_new
|
||||
|
||||
// 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>
|
||||
|
Reference in New Issue
Block a user