GCC10 should be prohibited until it generates a functioning binary fix #4584

This commit is contained in:
rusefillc 2022-09-27 21:39:35 -04:00
parent e6f12bca98
commit 84ce8a8950
1 changed files with 7 additions and 0 deletions

View File

@ -14,4 +14,11 @@
#error "GCC compiler >= 9.3.1 required"
#endif
// Firmware builds but does not actually run on GCC10 :(
// todo: one day someone should fix it, do YOU want to help?
#if (GCC_VERSION > 1000)
#pragma message("GCC is " STR(__GNUC__)"."STR(__GNUC_MINOR__)"."STR(__GNUC_PATCHLEVEL__))
#error "GCC10 not supported see https://github.com/rusefi/rusefi/labels/Gcc10"
#endif
#endif