[sldev] Re: -Werror problem in trunk
Jason Giglio
gigstaggart at gmail.com
Thu Aug 21 08:37:03 PDT 2008
Soft wrote:
>> 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.
Is this actually the right way to go? Isn't the preferred syntax to
actually just say "struct Vertex { ... };".
-Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3266 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20080821/8cc50917/smime.bin
More information about the SLDev
mailing list