Re: Errors building fontconfig-2.12.1: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function)
Akira TAGOH <[email protected]>
| Newsgroups | gmane.comp.fonts.fontconfig |
|---|---|
| Message-ID | <CACT-Cx0kx-Fnhb32_tuWRbqhwQ6M2Ea19=fFmA7ijeXrL+_Uag@mail.gmail.com> |
That line isn't in 2.12.1. I guess you are applying a patch and it has an error. please check. On Sun, Nov 13, 2016 at 6:51 PM, Klaus Dittrich <[email protected]> wrote: > 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/f > ontconfig-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 > -- Akira TAGOH _______________________________________________ Fontconfig mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/fontconfig