umanwizard / libeot

Library for parsing Embedded OpenType files (Microsoft embedded font "standard"), and converting them to other formats
Other
14 stars 6 forks source link

ce4b1913 commit breaks build #5

Closed kloczek closed 9 months ago

kloczek commented 9 months ago

Looks like ce4b1913 breaks build

[tkloczko@pers-jacek libeot-0.01]$ make
make  all-am
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libeot-0.01'
/bin/sh ./libtool  --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I.  -I./inc  -O2 --std=c99 -DDECOMPRESS_ON -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -c -o src/lzcomp/libeot_la-ahuff.lo `test -f 'src/lzcomp/ahuff.c' || echo './'`src/lzcomp/ahuff.c
libtool: compile:  /usr/bin/gcc -DHAVE_CONFIG_H -I. -I./inc -O2 --std=c99 -DDECOMPRESS_ON -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -c src/lzcomp/ahuff.c  -fPIC -DPIC -o src/lzcomp/.libs/libeot_la-ahuff.o
In file included from src/lzcomp/ahuff.c:13:
src/lzcomp/AHUFF.H:28:3: error: unknown type name 'BITIO'
   28 |   BITIO *bio;
      |   ^~~~~
src/lzcomp/AHUFF.H:47:46: error: unknown type name 'BITIO'
   47 | AHUFF *MTX_AHUFF_Create(MTX_MemHandler *mem, BITIO *bio,
      |                                              ^~~~~
src/lzcomp/ahuff.c: In function 'MTX_AHUFF_Create':
src/lzcomp/ahuff.c:317:10: warning: assignment to 'int *' from incompatible pointer type 'BITIO *' [-Wincompatible-pointer-types]
  317 |   t->bio = bio;
      |          ^
src/lzcomp/ahuff.c: In function 'MTX_AHUFF_WriteSymbol':
src/lzcomp/ahuff.c:425:25: warning: initialization of 'BITIO *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
  425 |   register BITIO *bio = t->bio;
      |                         ^
src/lzcomp/ahuff.c: In function 'MTX_AHUFF_ReadSymbol':
src/lzcomp/ahuff.c:451:25: warning: initialization of 'BITIO *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types]
  451 |   register BITIO *bio = t->bio;
      |                         ^
make[1]: *** [Makefile:726: src/lzcomp/libeot_la-ahuff.lo] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libeot-0.01'
make: *** [Makefile:408: all] Error 2
umanwizard commented 9 months ago

This is fixed now.