Re: Compile error in 3.0

Jordi Mallach <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization Sindominio
Message-ID <[email protected]>
Hi Sergey,

El dl 28 de 11 de 2016 a les 12:51 +0100, en/na Jordi Mallach va
escriure:
> Hi Sergey,
> 
> I'm going to try to get 3.0 in Debian stretch. I've come across this:
> 
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../..
> -I../../include -I../../include -I/libmailutils -I. -Wdate-time
> -D_FORTIFY_SOURCE=2 -DSYSCONFDIR=\"/etc\" -g -fdebug-prefix-
> map=/build/mailutils-3.0=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wall -Wdeclaration-after-statement -ggdb -c
> wordsplit.c  -fPIC -DPIC -o .libs/wordsplit.o
> wordsplit.c: In function 'mu_wordsplit_perror':
> wordsplit.c:2338:7: error: format not a string literal and no format
> arguments [-Werror=format-security]
>        wsp->ws_error (mu_wordsplit_strerror (wsp));
>        ^~~
> cc1: some warnings being treated as errors
> 
> It's the usual -Wformat-security type of bug, and I haven't seen a
> fix
> in subsequent commits after the release.

Did you have a chance to test-compile using -Wformat-security? It's a
default GCC option in quite a few distributions these days.

Thanks!
Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[email protected]     [email protected]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.