pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

fonts/harfbuzz



I'm getting a build error on NetBSD/aarch64 with latest harfbuzz.

c++ -Isrc/test-repacker.p -Isrc -I../src -I. -I.. -I/usr/X11R7/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gio-unix-2.0 -I/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -fno-rtti -O0 -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -DHAVE_CONFIG_H -O2 -pthread -Wno-non-virtual-dtor -DMAIN -UNDEBUG -MD -MQ src/test-repacker.p/test-repacker.cc.o -MF src/test-repacker.p/test-repacker.cc.o.d -o src/test-repacker.p/test-repacker.cc.o -c ../src/test-repacker.cc
../src/test-repacker.cc: In function 'void start_lookup(int8_t, int8_t, hb_serialize_context_t*)':
../src/test-repacker.cc:115:8: error: narrowing conversion of 'type' from 'int8_t' {aka 'signed char'} to 'char' [-Werror=narrowing]
  115 |     0, type, // type
      |        ^~~~
../src/test-repacker.cc:117:8: error: narrowing conversion of 'num_subtables' from 'int8_t' {aka 'signed char'} to 'char' [-Werror=narrowing]
  117 |     0, num_subtables, // num subtables
      |        ^~~~~~~~~~~~~


Home | Main Index | Thread Index | Old Index