1. 21 1月, 2019 25 次提交
  2. 19 1月, 2019 12 次提交
  3. 18 1月, 2019 3 次提交
    • B
      [pragma] More cast-align whitelist · b900f780
      Behdad Esfahbod 提交于
      b900f780
    • B
      [pragma] Allow cast-align in hb-font.cc · 0d8b931b
      Behdad Esfahbod 提交于
      ../src/hb-machinery.hh: In instantiation of 'const Type& StructAtOffset(const void*, unsigned int) [with Type = unsigned int]':
      ../src/hb-font.cc:144:85:   required from here
      ../src/hb-machinery.hh:63:12: error: cast from 'const char*' to 'const unsigned int*' increases required alignment of target type [-Werror=cast-align]
       { return * reinterpret_cast<const Type*> ((const char *) P + offset); }
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../src/hb-machinery.hh: In instantiation of 'Type& StructAtOffset(void*, unsigned int) [with Type = unsigned int]':
      ../src/hb-font.cc:145:79:   required from here
      ../src/hb-machinery.hh:66:12: error: cast from 'char*' to 'unsigned int*' increases required alignment of target type [-Werror=cast-align]
       { return * reinterpret_cast<Type*> ((char *) P + offset); }
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../src/hb-machinery.hh: In instantiation of 'Type& StructAtOffset(void*, unsigned int) [with Type = int]':
      0d8b931b
    • B
      [pragma] GCC diagnostic error "-Wreorder" · a25174a5
      Behdad Esfahbod 提交于
      a25174a5