[Fontconfig] Errors building fontconfig-2.12.1: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function)

Klaus Dittrich kladit at arcor.de
Sun Nov 13 09:51:09 UTC 2016


Building fontconfig-2.12.1 I get these errors ..

   CC       fcmatch.lo
fcmatch.c:324:63: error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in 
a function)
  #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, 
PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
                                                                ^
fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
  FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
  ^~~~~~~~~
fcmatch.c:324:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a 
function)
  #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, 
PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
^
fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
  FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
  ^~~~~~~~~
make[3]: *** [Makefile:633: fcmatch.lo] Error 1
make[3]: Leaving directory 
'/mnt/md1/sources/fontconfig/fontconfig-2.12.1/src'


Compiler used is gcc (64 Bit) version 6.2.1 20161110 and before.

-- 

Klaus



More information about the Fontconfig mailing list