Re: fontconfig 2.10 and alignof(double) on AIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13-08-21 12:44 AM, Albert Chin wrote:
> On AIX 32-bit and 64-bit, alignof(double) == 4. This isn't a problem
> for 32-bit builds of fontconfig but for 64-bit builds, the following
> assert in src/fcarch.c fails:
>   FC_ASSERT_STATIC (0x08 + 1*FC_MAX(4,ALIGNOF_DOUBLE) == sizeof (FcValue));

So, what *is* sizeof(FcValue)?  If alignof(double) is 4, double itself is 8,
and enum is 4, then sizeof(FcValue) should be 12 which is exactly what the
assertion is trying to ensure.

-- 
behdad
http://behdad.org/
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux