Browse Source

Merge pull request #5559 from thinkyhead/rc_minimum_gcc_version

Throw an error for gcc before 4.7
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
41a30923f3
  1. 7
      Marlin/SanityCheck.h

7
Marlin/SanityCheck.h

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

Loading…
Cancel
Save