Hi,

I cannot reproduce the bug, but I believe that changing line 332 of
src/graphics/model/model_output.cpp from

  strncpy(t.texName, triangle.tex1Name.c_str(), sizeof(t.texName)-1);

to

  strncpy(t.texName, triangle.tex1Name.c_str(), sizeof(t.texName));

should send away the warning without changing the result (apart from
possibly requiring a couple of additional cycles at execution time).
Otherwise one might just change compilation flags in order not to treat
warnings as fatal, which is often rather exaggerate.

HTH, Giovanni.
-- 
Giovanni Mascellani <g.mascell...@gmail.com>
Postdoc researcher - Université Libre de Bruxelles

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to