[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Building svn-1.1.0 on MS VC++.NET 2003

From: Monte Krol <MKrol_at_blizzard.com>
Date: 2004-09-18 01:19:26 CEST

Hi all,

I thought I'd have a patch to post, but instead it's just a hazard
report:

I am building svn-1.1.0-rc3 on VC++.NET 2K3. VC is mostly able to import
the .dsp/.dsw and build svn, but there is one issue I had to fix:

Microsoft unhelpfully changed the resource compiler from VC++ 6 to
VC++.NET such that it no longer accepts preprocessor definitions that
include a double=quoted string.

Example, from svnadmin, is like this:

SVN_FILE_NAME="svnadmin.exe"

This compiles on VC++ 6 RC but not on VC++.NET 2003 RC. The resource
compiler emits the unhelpful message "invalid usage". :)

Changing it to this:

SVN_FILE_NAME='svnadmin.exe'

compiles on VC++.NET 2003 RC, but not VC++ 6 RC.

These preprocessor definitions exist in the emitted dsps for all of the
command-line tools (svn, svnadmin, svndumpfilter, svnlook, svnserver,
svnversion), so if you run across this problem, you'll need to update
all of these project files.

--
So I was going to patch the script that emits the .dsps to emit single
quotes, but that doesn't work on VC++ 6, which is really what the .dsps
are targeted to. So instead, I will just report this problem I worked
around. Hopefully it will help somebody else.
Monte
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 18 01:20:02 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.