diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-11-30 21:30:40 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-11-30 21:30:40 (GMT) |
commit | 75692592e49da1af2b1c8857298ca7085cd5b3d5 (patch) | |
tree | 33e5ee1aae1b9eb4514d735f00281a21f17325a0 /src/version_check.h | |
parent | fd715c6526e961cb7f3d6ba6a0563788d7d1674d (diff) | |
parent | f175bae46a8f15823780c5a9c89b11476acb3107 (diff) |
Merge branch 'master' into issue410x
Diffstat (limited to 'src/version_check.h')
-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 |