Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hello,

On pc Debian x86-64 with master sources updated today + enable-dbgutil, I
got this:
/home/julien/lo/libreoffice/soltools/cpp/_lex.c: In function ‘setsource’:
/home/julien/lo/libreoffice/soltools/cpp/_lex.c:671:9: error: ‘strncpy’
output truncated before terminating nul copying as many bytes from a
string as its length [-Werror=stringop-truncation]
         strncpy((char *) s->inp, str, len);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/julien/lo/libreoffice/soltools/cpp/_lex.c:668:15: note: length
computed here
         len = strlen(str);
               ^~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: ***
[/home/julien/lo/libreoffice/solenv/gbuild/LinkTarget.mk:241:
/home/julien/lo/libreoffice/workdir/CObject/soltools/cpp/_lex.o] Error 1
make[1]: *** Attente des tâches non terminées....
make: *** [Makefile:286: build] Error 2

Any idea how to fix this?

Julien



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.