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

Re: A Different Error When Building TSVN From Source

From: Robert Roessler <robertr_at_rftp.com>
Date: Wed, 25 Nov 2009 12:04:48 -0800

Tyler Kavanaugh wrote:
>> Tyler Kavanaugh wrote:
>>> I'm getting a different error now when I try to build TortoiseSVN from sources, this time regarding an include file and a resource file that are missing. I've checked out the latest revision. I'm going to attach my complete build log, to find the errors search for the phrase "error " (that's the word error followed by a space character). I used NAnt -l:buildlog.txt setup for this particular build.
>>
>> These are certainly present in a VS 2008 *with* SP1 installation...
>> afxribbon.rc and afxcontrolbars.h are both in "Microsoft Visual Studio
>> 9.0\VC\atlmfc\include" - but note that this is for the English version
>> on my system, with the versions of afxribbon.rc for other locales an
>> additional level down in the tree.
>>
> Thanks for the info. Got that error fixed, but fixing that prompted yet another error. Here are the lines from buildlog.txt:
>
> [exec] 26>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\deque(1034) : error C2039: '_Swap_adl' : is not a member of 'std'
> [exec] 26> c:\Program Files\Microsoft Visual Studio 9.0\VC\include\deque(1031) : while compiling class template member function 'void std::deque<_Ty>::_Reverse(unsigned int,unsigned int)'
> [exec] 26> with
> [exec] 26> [
> [exec] 26> _Ty=CItem
> [exec] 26> ]
> [exec] 26> c:\svn\tortoisesvn\src\tortoiseproc\RepositoryLister.h(152) : see reference to class template instantiation 'std::deque<_Ty>' being compiled
> [exec] 26> with
> [exec] 26> [
> [exec] 26> _Ty=CItem
> [exec] 26> ]
> [exec] 26>c:\Program Files\Microsoft Visual Studio 9.0\VC\include\deque(1034) : error C3861: '_Swap_adl': identifier not found
>
> Looks to me like it's an error in one of the standard include files that come packaged w/VS2008, but I have never seen this before in other things that I've compiled using VS2008 (the IDE or the command-line app).

Hmmm... I recall from the MS VC team blog that there is a "swap" problem
with the [template] library that may not be fixed until vs 2010.

However, searching for "vs 2008 swap problem" yields the following:

http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/4bc93a16-4ad5-496c-954c-45efbe4b180b

... which offers some approaches to working around the issue. ;)

Robert Roessler

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2424394

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-25 21:05:45 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

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