freemint / fvdi

fVDI fork with additional fixes and drivers.
https://fvdi.sourceforge.io
7 stars 6 forks source link

Update freetype support #9

Closed chrisridd closed 2 years ago

chrisridd commented 2 years ago

Building with freetype-2.10.2 seems to work. Building with freetype-2.11.1 explodes with many thousands of compiler errors. It might actually be less, but make -j makes it hard to see.

echus$ cd fvdi/modules/ft2
echus$ CPU=000 M68K_ATARI_MINT_CROSS=yes make      
  CC       ftinit.o
In file included from ../../modules/ft2/freetype/include/freetype/fttypes.h:26,
                 from ../../modules/ft2/freetype/include/freetype/freetype.h:25,
                 from ../../modules/ft2/freetype/include/freetype/ftmodapi.h:23,
                 from ../../modules/ft2/freetype/include/freetype/ftrender.h:23,
                 from ../../modules/ft2/freetype/include/freetype/internal/ftobjs.h:29,
                 from ../../modules/ft2/freetype/src/base/ftinit.c:42:
../../modules/ft2/freetype/include/freetype/ftimage.h:700:23: warning: implicit declaration of function 'FT_STATIC_BYTE_CAST' [-Wimplicit-function-declaration]
  700 |           value = ( ( FT_STATIC_BYTE_CAST( unsigned long, _x1 ) << 24 ) | \
      |                       ^~~~~~~~~~~~~~~~~~~
../../modules/ft2/freetype/include/freetype/ftimage.h:747:5: note: in expansion of macro 'FT_IMAGE_TAG'
  747 |     FT_IMAGE_TAG( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ),
      |     ^~~~~~~~~~~~
[...]

It'd be nice to track freetype releases in case there are security and other bug fixes.

mfro0 commented 2 years ago

Closed with #27