[Python-Dev] Windows build issues

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Fri, 30 Jun 2000 23:20:20 +0200


guido wrote:

> > PC/config.h=20
> >=20
> >     VC++ 5.0 will not compile python20 unless "#include
> >     <basetsd.h>" is commented out.  Trent?
>=20
> I'll leave this to Trent -- I don't know how to check for VC 5.0
> vs. 6.0.

#if _MSC_VER >=3D 1200
    VC 6.0
#else
    VC 5.0 or earlier   =20
#endif

(we added a similar workaround to Python/thread_nt.c)

> > Also, I get a few warnings when compiling.  One is about an /IZ
> > (I think) option being ignored.  There are a few other warnings
> > as well which I didn't write down.
>=20
> Probably 6.0 flags that 5.0 doesn't have.  What can we do?

ignore it, for now.  I remember seeing a few type warnings, but
nothing critical.  there's plenty of time to sort that out on the
way to 2.0 final.

</F>