[sldev] [HELP] Compiling Snowglobe
Soft
soft at lindenlab.com
Mon Jul 27 05:39:13 PDT 2009
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.
More information about the SLDev
mailing list