[sldev] [HELP] Compiling Snowglobe

Bill Windwalker billwindwalker at rocketmail.com
Tue Jul 28 03:27:48 PDT 2009


hold on why not have a read me of the bugs so people do no go over them till they get fix ?
that way a list of bugs and there work around for every one to know to speed up things.
just call me crazy.




________________________________
From: Soft <soft at lindenlab.com>
To: Tofu Linden <tofu.linden at lindenlab.com>
Cc: SLDev at lists.secondlife.com; Sharven Raabe <sharven.raabe at googlemail.com>
Sent: Monday, July 27, 2009 8:39:13 AM
Subject: Re: [sldev] [HELP] Compiling Snowglobe

On Mon, Jul 27, 2009 at 7:20 AM, Tofu Linden<tofu.linden at lindenlab.com> wrote:
> Sharven Raabe wrote:
>> The call looks like this:
>> // default to 0s.
>> U32 size = mvci.getSize();
>> std::vector<U8> data(size);
>> memset(&(data[0]), 0, size);
>
> How curious.  I wonder if its problem is not quite what it's complaining
> about - could you try changing 'U32' to 'size_t'?

It's a gcc bug that's fixed in the ubuntu developer branch, if not
upstream gcc. You can put an if(size) before the memset for now as a
workaround.
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/SLDev
Please read the policies before posting to keep unmoderated posting privileges



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20090728/27668c9e/attachment.htm 


More information about the SLDev mailing list