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

Akira TAGOH akira at tagoh.org
Mon Nov 14 02:31:28 UTC 2016


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 <kladit at arcor.de> 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
> Fontconfig at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/fontconfig
>



-- 
Akira TAGOH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig/attachments/20161114/8ffccc2c/attachment.html>


More information about the Fontconfig mailing list