[sldev] Re: -Werror problem in trunk

Robin Cornelius robin.cornelius at gmail.com
Thu Aug 21 04:46:13 PDT 2008


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.

Robin


More information about the SLDev mailing list