Disable optimizations and debug check even in debug mode.

This commit is contained in:
bubnikv 2016-04-14 11:17:44 +02:00
parent 23a5edbd11
commit f3bda8a57a
3 changed files with 182 additions and 118 deletions

View file

@ -1,5 +1,7 @@
// Optimize the extrusion simulator to the bones.
#pragma GCC optimize ("O0")
#pragma GCC optimize ("O3")
#undef SLIC3R_DEBUG
#define NDEBUG
#include <cmath>
#include <cassert>