Bug#925656: Triage

Giovanni Mascellani gio at debian.org
Fri Jul 26 19:48:49 BST 2019


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.mascellani at gmail.com>
Postdoc researcher - Université Libre de Bruxelles

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-games-devel/attachments/20190726/49bb8c8a/attachment-0001.sig>


More information about the Pkg-games-devel mailing list