Control: reassign -1 src:libthai Control: tags -1 + pending On Wed, Jan 20, 2016 at 7:59 AM, Martin Michlmayr <t...@hpe.com> wrote: >> In file included from /usr/include/thai/thwctype.h:69:0, >> from scim_thai_imengine.cpp:30: >> /usr/include/thai/thctype.h:372:19: error: left operand of shift expression >> '(-1 << 3)' is negative [-fpermissive] >> _th_CClassMsk = _th_bitmsk(1, 3), /* Thai consonant shape masks */ >> ^
This is in libthai's header. So, I'm reassigning it to libthai. The problem seems to be that ~(unsigned short)0 has been converted to int before shifting. Using unsigned int instead does solve it. Applied upstream: http://linux.thai.net/websvn/wsvn/software.libthai/trunk/?rev=593 And there is no further compilation error after this one. So, I tag it as pending. Regards, -- Theppitak Karoonboonyanan http://linux.thai.net/~thep/