[sldev] Viewer Problems
Paul TBBle Hampson
Paul.Hampson at Pobox.com
Wed Jul 18 05:17:45 PDT 2007
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.
--
-----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
On-hiatus Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.com
Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
-- Kristian Wilson, Nintendo, Inc, 1989
License: http://creativecommons.org/licenses/by/2.1/au/
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070718/ea701b4f/attachment.pgp
More information about the SLDev
mailing list