• Show log

    Commit

  • Hash : ae8719eb
    Author : Behdad Esfahbod
    Date : 2019-05-13T12:27:10

    [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
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/harfbuzz.git
    Git SSH git@git.kmx.io:kc3-lang/harfbuzz.git
    Public access ? public
    Description

    HarfBuzz text shaping engine

    Users
    kc3_lang_org www_kmx_io thodg_w thodg_l thodg thodg_m
    Tags