[Python-Dev] largeint.h and ver.h gone from VS.NET

Fredrik Lundh fredrik@pythonware.com
Thu, 24 Jan 2002 10:10:05 +0100


david wrote:

> I'm having sre problems in the test suite though, which have pretty
> wide-ranging effects.

SRE uses agressive inlining under MSVC.  maybe their new optimizer
is slightly broken? (not the first time, in a X.0 release)

as a temporary workaround, try changing

    #if defined(_MSC_VER)

to

    #if 0 && defined(_MSC_VER)

if SRE works after this change, try switching on
USE_INLINE.

if you find a combination that works, change the MSC_VER
clause to:

    #if defined(_MSC_VER) && _MSC_VER >= SOMETHING
    ... vs.net configuration
    #elif defined(_MSC_VER)
    ... msvc 5/6 configuration
    #elif defined(USE_INLINE)
    ...

and mail me the patch.

cheers /F