[Python-checkins] CVS: python/dist/src/PC config.h,1.35,1.36

Fred L. Drake python-dev@python.org
Mon, 19 Jun 2000 06:41:56 -0700


Update of /cvsroot/python/python/dist/src/PC
In directory slayer.i.sourceforge.net:/tmp/cvs-serv19143

Modified Files:
	config.h 
Log Message:

Patch from Rene Liebscher <R.Liebscher@gmx.de>, slightly modified and
commented by Fred Drake, to prevent usage of sufficiently broken GCC
versions.


Index: config.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/config.h,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** config.h	2000/05/10 13:25:32	1.35
--- config.h	2000/06/19 13:41:54	1.36
***************
*** 27,30 ****
--- 27,38 ----
  */
  
+ /* 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