[Patches] Extension building on Win32 using Gnu C

Fred L. Drake, Jr. fdrake@beopen.com
Mon, 19 Jun 2000 09:25:54 -0400 (EDT)


Rene Liebscher writes:
 > Using an up-to-date compiler we don't have these problems anymore.
 > I think we should warn the user if he is using such a older,buggy
 > compiler. In config.h's GNUC section we could insert something
 > like that:
 > 
 > #if (__GNUC__==2) && (__GNUC_MINOR__<=91)
 > #warning "Please use an up-to-date version of gcc"
 > #endif

  Were older versions of the compiler broken as well?  Do you know if
this problem was shared by all versions <= 2.91.*?  I'd hate to
exclude too many versions of the compiler, but I don't know how common
older versions are.  I have little idea how often people using the GCC
ports to Windows are willing to upgrade their compiler; if they
commonly stay up to date this might be the best approach.
  Should the #warning be made into a #error?
  Thanks!


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member