[sldev] Viewer Problems

Dzonatas dzonatas at dzonux.net
Wed Jul 18 10:28:53 PDT 2007


I've run into this situation with MinGW. It is do to distinct types. 
MSVC has been a little less strict about distinct types.

See: https://jira.secondlife.com/browse/VWR-186

You can put a band-aid cast op in the line for now.

Paul TBBle Hampson wrote:
> On Tue, Jul 17, 2007 at 12:16:33PM +0200, Andreas Lichtenberger wrote:
>   
>> I have a big problem compiling the current version of the viewer:
>>     
>
>   
>> c:\sldev\linden\indra\newview\llsrv.cpp(59) : error C2665: 'LLSRVRecord::LLSRVRecord' : none of the 2 overloads could convert all the argument types
>>       c:\sldev\linden\indra\newview\llsrv.h(45): could be 'LLSRVRecord::LLSRVRecord(U16,U16,const std::string &,U16)'
>>       while trying to match the argument list '(WORD, WORD, LPTSTR, WORD)'
>>     
>
>   
>> Can anybody send help please???
>>     
>
> I'm gonna hazard a guess, that "cur->Data.Srv.pNameTarget" on line 58
> needs to be "*(cur->Data.Srv.pNameTarget)", since the constructor
> expects a const std::string reference, and the name of that (and the
> error) suggests it's a std::string pointer.
>
> Not having a c:\ on my machine, I've not tested this though. If it
> breaks, you can keep both pieces.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>   

-- 
Power to Change the Void
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20070718/d8530fb6/attachment.htm


More information about the SLDev mailing list