qmi-codegen in libqmi-glib

Aleksander Morgado aleksander at lanedo.com
Wed May 23 13:16:46 PDT 2012


On 05/23/2012 10:12 PM, Bjørn Mork wrote:
> Bjørn Mork <bjorn at mork.no> writes:
> 
>> Aleksander Morgado <aleksander at lanedo.com> writes:
>>
>>> Hey hey,
>>>
>>> I've been playing a bit more with the idea of automatically generating
>>> code for message handling from input JSON files, and got already
>>> something working in the 'qmi-codegen' branch of my libqmi-glib tree:
>>>   git://gitorious.org/lanedo/libqmi-glib.git
>>
>> Minor build error:
>>
>> qmi-message.c: In function 'qmi_message_get_tlv_printable':
>> qmi-message.c:672:34: error: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'gsize' [-Werror=format]
> 
> More of those in the generated code.  How about
> 

Just fixed and pushed both of these things, using G_GSIZE_FORMAT.

Thanks!

-- 
Aleksander


More information about the libqmi-devel mailing list