[Pkg-ime-devel] Bug#710643: ibus: FTBFS: ibusfactory.c:294:52: error: format not a string literal and no format arguments [-Werror=format-security]
- Subject: [Pkg-ime-devel] Bug#710643: ibus: FTBFS: ibusfactory.c:294:52: error: format not a string literal and no format arguments [-Werror=format-security]
- From: wrar@wrar.name (Andrey Rahmatullin)
- Date: Sat, 1 Jun 2013 22:44:59 +0600
- Message-id: <[🔎] 20130601164459.GA12594@belkar.wrar.name>
- In-reply-to: <20130531193916.GA7531@Aeris.MIDGAR>
- References: <20130531193916.GA7531@Aeris.MIDGAR>
On Fri, May 31, 2013 at 09:39:16PM +0200, David Su?rez wrote:
> > ibusfactory.c: In function 'ibus_factory_service_method_call':
> > ibusfactory.c:294:52: error: format not a string literal and no format arguments [-Werror=format-security]
> > cc1: some warnings being treated as errors
The code:
g_dbus_method_invocation_return_error (invocation,
G_DBUS_ERROR,
G_DBUS_ERROR_FAILED,
error_message);
Docs say that the 4th parameter is "printf()-style format".
--
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20130601/612d730f/attachment.pgp>
Reply to: