[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Compile error in 3.0

From: Jordi Mallach
Subject: Re: [bug-mailutils] Compile error in 3.0
Date: Mon, 05 Dec 2016 11:24:37 +0100

Hi Sergey,

El dl 28 de 11 de 2016 a les 12:51 +0100, en/na Jordi Mallach va
> 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.

Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
address@hidden     address@hidden     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]