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

Klaus Dittrich <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <[email protected]>
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

_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.