summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/version_check.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/version_check.h b/src/version_check.h
index 86e769c..fbea077 100644
--- a/src/version_check.h
+++ b/src/version_check.h
@@ -108,5 +108,13 @@ a time, to avoid confusion.
#endif // MPFR
#endif // GMP
+// see github issue #552
+#define GCC_VERSION (__GNUC__ * 10000 \
+ + __GNUC_MINOR__ * 100 \
+ + __GNUC_PATCHLEVEL__)
+#if GCC_VERSION == 40802
+#error OpenSCAD isn't compatible with gcc 4.8.2. Please try a different version
+#endif
+
#endif // OPENSCAD_SKIP_VERSION_CHECK
contact: Jan Huwald // Impressum