• Show log

    Commit

  • Hash : 00cd00e6
    Author : Behdad Esfahbod
    Date : 2018-09-30T05:34:30

    Tweak HB_TAG and HB_UNTAG
    
    uint32_t was getting promoted to signed int, which is not what we wanted...
    
    Wow, clang has become good at generating warnings...
    
    ../../src/hb-common.h:349:29: warning: signed shift result (0xFF000000) sets the sign bit of the shift expression's type ('int') and becomes negative [-Wshift-sign-overflow]
      _HB_SCRIPT_MAX_VALUE                          = HB_TAG_MAX, /*< skip >*/
                                                      ^~~~~~~~~~
    ../../src/hb-common.h:93:20: note: expanded from macro 'HB_TAG_MAX'
     define HB_TAG_MAX HB_TAG(0xff,0xff,0xff,0xff)
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../../src/hb-common.h:89:57: note: expanded from macro 'HB_TAG'
     define HB_TAG(c1,c2,c3,c4) ((hb_tag_t)((((uint8_t)(c1))<<24)|(((uint8_t)(c2))<<16)|(((uint8_t)(c3))<<8)|((uint8_t)(c4))))
                                             ~~~~~~~~~~~~~~~^ ~~
    ../../src/hb-common.h:349:3: warning: ISO C restricts enumerator values to range of 'int' (4294967295 is too large) [-Wpedantic]
      _HB_SCRIPT_MAX_VALUE                          = HB_TAG_MAX, /*< skip >*/
      ^                                               ~~~~~~~~~~
    

  • 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 thodg_w www_kmx_io thodg_l thodg thodg_m
    Tags