Re: Re: Finding the correct alignment for all architectures

2016-10-30 Thread Thomas Weber
Thanks guys, I went with _Alignof(double), which interestingly aligns to 8 bytes on amd64. Thomas

Re: Finding the correct alignment for all architectures

2016-10-12 Thread Jakub Wilk
* Christian Seiler , 2016-10-13, 00:20: On 10/12/2016 11:51 PM, Thomas Weber wrote: I am maintaining lcms2. In #749975, I received a patch to ensure correct alignment for doubles von MIPS. I have forwarded the patch upstream[1], but in the latest release, upstream has

Re: Finding the correct alignment for all architectures

2016-10-12 Thread Christian Seiler
Hi, On 10/12/2016 11:51 PM, Thomas Weber wrote: > I am maintaining lcms2. In #749975, I received a patch to ensure correct > alignment for doubles von MIPS. I have forwarded the patch upstream[1], but > in the latest release, upstream has chosen a different way. It is now > possible to configure

Finding the correct alignment for all architectures

2016-10-12 Thread Thomas Weber
Hi, I am maintaining lcms2. In #749975, I received a patch to ensure correct alignment for doubles von MIPS. I have forwarded the patch upstream[1], but in the latest release, upstream has chosen a different way. It is now possible to configure the alignment via a preprocessor variable