|
@@ -27,11 +27,10 @@
|
27
|
27
|
*/
|
28
|
28
|
|
29
|
29
|
/**
|
30
|
|
- * Due to the high number of issues related with old versions of Arduino IDE
|
31
|
|
- * we now prevent Marlin from compiling with older toolkits.
|
|
30
|
+ * Require gcc 4.7 or newer (first included with Arduino 1.6.8) for C++11 features.
|
32
|
31
|
*/
|
33
|
|
-#if !defined(ARDUINO) || ARDUINO < 10608
|
34
|
|
- #error "Versions of Arduino IDE prior to 1.6.8 are no longer supported, please update your toolkit."
|
|
32
|
+#if __cplusplus < 201103L
|
|
33
|
+ #error "Marlin requires C++11 support (gcc >= 4.7, Arduino IDE >= 1.6.8). Please upgrade your toolchain."
|
35
|
34
|
#endif
|
36
|
35
|
|
37
|
36
|
/**
|