diff options
| author | Fred Drake <fdrake@acm.org> | 2000-06-19 13:41:54 +0000 |
|---|---|---|
| committer | Fred Drake <fdrake@acm.org> | 2000-06-19 13:41:54 +0000 |
| commit | 91c4e2bf127bb06204dc0a9a4583be7dccc27098 (patch) | |
| tree | 82ab3c3a79410264f801d486524c0400bb7efd50 /PC | |
| parent | aef1000bff903d8e5e113ee19ac7e018f645f8a9 (diff) | |
| download | cpython-git-91c4e2bf127bb06204dc0a9a4583be7dccc27098.tar.gz | |
Patch from Rene Liebscher <R.Liebscher@gmx.de>, slightly modified and
commented by Fred Drake, to prevent usage of sufficiently broken GCC
versions.
Diffstat (limited to 'PC')
| -rw-r--r-- | PC/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h index 1491e327e3..7081551cc7 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 <R.Liebscher@gmx.de> 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 |
