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

[Pkg-ime-devel] Bug#710643: ibus: FTBFS: ibusfactory.c:294:52: error: format not a string literal and no format arguments [-Werror=format-security]



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: