From: Fred Drake Date: Mon, 19 Jun 2000 13:41:54 +0000 (+0000) Subject: Patch from Rene Liebscher , slightly modified and X-Git-Tag: v2.0b1~1471 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91c4e2bf127bb06204dc0a9a4583be7dccc27098;p=thirdparty%2FPython%2Fcpython.git Patch from Rene Liebscher , slightly modified and commented by Fred Drake, to prevent usage of sufficiently broken GCC versions. --- diff --git a/PC/config.h b/PC/config.h index 1491e327e334..7081551cc74e 100644 --- a/PC/config.h +++ b/PC/config.h @@ -26,6 +26,14 @@ compiler specific". Therefore, these should be very rare. */ +/* Suggested by Rene Liebscher to avoid a GCC 2.91.* + bug that requires structure imports. More recent versions of the + compiler don't exhibit this bug. +*/ +#if (__GNUC__==2) && (__GNUC_MINOR__<=91) +#error "Please use an up-to-date version of gcc" +#endif + /* Some systems require special declarations for data items imported or exported from dynamic link libraries. Note that the definition