diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-11-30 21:13:03 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-11-30 21:13:03 (GMT) |
commit | f175bae46a8f15823780c5a9c89b11476acb3107 (patch) | |
tree | 7333ffe649add23a6c4d7e079c52bff5ba8a19c7 /src | |
parent | 31199ea2d1f1a9ce2de763ca57fb0aa172cc1f66 (diff) |
disallow gcc 4.8.2
Diffstat (limited to 'src')
-rw-r--r-- | src/version_check.h | 8 |
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 |