A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-February/020041.html below:

[Python-Dev] Expat vs Windows

[Python-Dev] Expat vs WindowsTim Peters tim.one@comcast.net
Wed, 13 Feb 2002 03:15:08 -0500
[Martin v. Loewis]
> 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,

I expect it's the same as under most Unix shells:  the cmdline processor
chews up unescaped quotes, so if you want quotes to survive in what's passed
to argv, you have to escape them.

> or why I have to change every setting twice on Windows (which I forgot
> in this case);

You don't, if you first select "Multiple Configurations ... " from the
"Settings for:" dropdown list.  That controls which configuration(s) your
changes apply to, so if you leave it at, e.g., "Win32 Release", you're
explicitly instructing it to apply changes only to the Release build.

> in any case, I moved the VERSION setting into expat.h, so this problem
> should be gone now.

Thank you!  I won't get to try it until tomorrow night; maybe the linker
warnings will vanish by then too ...




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4