Build warning/error in libmbim

Marius B. Kotsbak marius at kotsbak.com
Fri May 17 12:24:51 PDT 2013


Hi!

I get this warnings, that seems to be treated as error with my compiler 
(default in Ubuntu 13.04):

mbim-message.c: In function 'mbim_message_open_done_get_result':
mbim-message.c:1402:18: error: format not a string literal and no format 
arguments [-Werror=format-security]
mbim-message.c: In function 'mbim_message_close_done_get_result':
mbim-message.c:1471:18: error: format not a string literal and no format 
arguments [-Werror=format-security]
mbim-message.c: In function 'mbim_message_command_done_get_result':
mbim-message.c:1809:18: error: format not a string literal and no format 
arguments [-Werror=format-security]
cc1: all warnings being treated as errors

Attached patch to fix it. Please avoid errors before making releases to 
avoid these strict compilers.

--
Marius

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libmbim-glib-fix-compile-warning-error.patch
Type: text/x-patch
Size: 1575 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libmbim-devel/attachments/20130517/ae47d517/attachment.bin>


More information about the libmbim-devel mailing list