Since warnings can be added and removed at the whims of the compiler
authors' current sensibilities, I would advise not using -Werror but
nevertheless paying attention to any warnings that do appear.

The first warning here is due to abuse of a type other than
array-of-unsigned-char as a random buffer.  At some point the definition
of t_raw has been changed from this to unsigned int; this change should
probably be reverted (though it's not clear to me how large the array
should be).

The other warnings are due to declaring t_texture::tex_obj as u32 but
using it as GLuint.  The latter type appears to be defined consistently
as unsigned int while the former is system-dependent.  I think this
member should be declared as unsigned int (given that it appears to be
undesirable to include <GL/gl.h> before the definition of t_texture).

Ben.

-- 
Ben Hutchings
It is easier to change the specification to fit the program than vice versa.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to