[ragel] Switch to -T1 output instead of -F1
Fedora upgraded to ragel 7, which is buggy if char is signed. Switching to -G2 output fails with sign-compare error: ../../src/hb-buffer-deserialize-json.hh:107:12: error: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const char’ [-Werror=sign-compare] if ( 9u <= ( (*( p))) && ( (*( p))) <= 13u ) { ~~~^~~~~~~~~~~~~ Switching to -T1 for now. It actually results in smaller code, at the expense of some binary searching instead of flat tables. In the not distant future, we might actually generate two different outputs and choose between depending on size-optimize options. Fixes https://github.com/harfbuzz/harfbuzz/issues/1708
Showing
想要评论请 注册 或 登录