[Python-Dev] Expat vs Windows

Martin v. Loewis martin@v.loewis.de
13 Feb 2002 08:53:58 +0100


Tim Peters <tim.one@comcast.net> writes:

> Oops -- I don't look far enough.  A different part still doesn't compile, at
> least not in a debug build:

That's because the VERSION define in the debug build read

 /D VERSION="1.95.2"

whereas MSVC had wanted it as

 /D VERSION=\"1.95.2\"

I still fail to see the rationale for requiring the backslashes there,
or why I have to change every setting twice on Windows (which I forgot
in this case); in any case, I moved the VERSION setting into expat.h,
so this problem should be gone now.

Regards,
Martin