summaryrefslogtreecommitdiffstats
path: root/src/engine/util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/util.hpp')
-rw-r--r--src/engine/util.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/util.hpp b/src/engine/util.hpp
index 945e5101..3b9d436c 100644
--- a/src/engine/util.hpp
+++ b/src/engine/util.hpp
@@ -18,10 +18,10 @@
#ifndef UTIL_HPP
#define UTIL_HPP
-#include "ingen-config.h"
-#include "raul/Path.hpp"
-#include <iostream>
#include <cstdlib>
+#include "raul/log.hpp"
+#include "raul/Path.hpp"
+#include "ingen-config.h"
#include <fenv.h>
#ifdef __SSE__
@@ -63,11 +63,11 @@ set_denormal_flags()
}
if (d1 & 1<<26) { /* bit 26, SSE2 support */
_mm_setcsr(_mm_getcsr() | 0x8040); // set DAZ and FZ bits of MXCSR
- //cerr << "Set SSE denormal fix flag." << endl;
+ Raul::info << "Set SSE denormal fix flag" << endl;
}
} else {
- std::cerr << "This code has been built with SSE support, but your processor does"
- << " not support the SSE instruction set." << std::endl << "Exiting." << std::endl;
+ Raul::warn << "This code has been built with SSE support, but your processor does"
+ << " not support the SSE instruction set, exiting." << std::endl;
exit(EXIT_FAILURE);
}
#endif