[sldev] Re: -Werror problem in trunk

Soft soft at lindenlab.com
Thu Aug 21 05:18:16 PDT 2008


On Thu, Aug 21, 2008 at 6:46 AM, Robin Cornelius
<robin.cornelius at gmail.com> wrote:
> On Thu, Aug 21, 2008 at 11:52 AM, Johnnie Carling
> <johnniecarling at gmail.com> wrote:
>
>> /home/johnnie/projects/secondlife/trunk/indra/llrender/llrender.h:221:
>> error: 'typedef' was ignored in this declaration
>
> Ah that one,
>
> look at the definition of the struct at llrender.h 221;
>
> the name of the struct is not in the "correct" place :-
>
>  typedef struct Vertex
>                {
>                        GLfloat v[3];
>                        GLubyte c[4];
>                        GLfloat uv[2];
>                };
>
> should be :-
>
> typedef struct
>        {
>                        GLfloat v[3];
>                        GLubyte c[4];
>                        GLfloat uv[2];
>         } Vertex;
>
>
> gcc 4.3 is a lot more fussy about syntax. That should fix it.

Thank you on this - I'll pitch a fix directly into trunk/.


More information about the SLDev mailing list