[Development] Strange behavior on 5.12 branch and moc genrated file ( KDE application )

Thiago Macieira thiago.macieira at intel.com
Wed Sep 5 18:57:30 CEST 2018


On Wednesday, 5 September 2018 00:20:22 PDT Helio Chissini de Castro wrote:
> jsonplugin2.moc:153:1: error: narrowing conversion of ‘'\37777777703'’
> from ‘char’ to ‘unsigned char’ inside { } [-Wnarrowing]
>  };
[cut]
> lude/jsonplugin2.moc:123:48: error: constant expression evaluates to -61
>       which cannot be narrowed to type 'unsigned char' [-Wc++11-narrowing]
>     ']',  0x76,  'E',  's',  't',  'e',  ' ',  '\xc3',
>                                                ^~~~~~

I guess I didn't test non-ASCII content.

moc was changed recently to save data in CBOR format instead of our binary 
JSON.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Development mailing list