]> granicus.if.org Git - python/commitdiff
Patch from Rene Liebscher <R.Liebscher@gmx.de>, slightly modified and
authorFred Drake <fdrake@acm.org>
Mon, 19 Jun 2000 13:41:54 +0000 (13:41 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 19 Jun 2000 13:41:54 +0000 (13:41 +0000)
commented by Fred Drake, to prevent usage of sufficiently broken GCC
versions.

PC/config.h

index 1491e327e3340aabf5186761858cf2cef51559f9..7081551cc74e7110efa1e39ba5b9114ca45fca63 100644 (file)
@@ -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