Re: TortoiseCVS RC4 patches

Torsten Martinsen <[email protected]>
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
Torsten Martinsen wrote:
>> 8.
>> I get lots of these errors:
>> ------ Build started: Project: TortoiseAct, Configuration: Release Win32 ------
>>
>> Compiling...
>> ModuleBasicsPage.cpp
>> \cvsbin\release builder\tcvs-1-12-RC2\src\DialogsWxw\ModuleBasicsPage.cpp(1149) : error C2664: 'WideToMultibyte' : cannot convert parameter 1 from 'wxString' to 'const std::wstring &'
>>         Reason: cannot convert from 'wxString' to 'const std::wstring'
>>         No constructor could take the source type, or constructor overload resolution was ambiguous
>>   
>>     
> That means that your wxWidgets is misconfigured - I will have to check 
> on my build machine which defines to set.
>   
This must mean that wxUSE_STD_STRING is not set correctly:

#define wxUSE_STD_STRING  1


> I believe all these are errors - they should be changed from:
>>     return myUseBugCheckBox->GetValue() ? wxAscii(myBugNumber->GetValue()) : "";
>> to
>>     return myUseBugCheckBox->GetValue() ? wxAscii(myBugNumber->GetValue().c_str()) : "";
>>   
>>     
> Again, as in #8, wxWidgets needs to be configured so that wxString is 
> compatible with std::string.
>   
This is also due to the wrong wxUSE_STD_STRING setting.
>> 9.
>> Should wxwidgets still be compiled by settting lib/vc_lib/msw*/wx/setup.h wxUSE_STL to 1 as described here:
>> http://www.tortoisecvs.org/development.shtml
>>   
>>     
Yes - and any other settings as per wxw/lib/vc_lib/mswu/wx/setup.h.

-Torsten

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

_______________________________________________
tortoisecvs-users mailing list
tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.