Re: [Pixman] [Patch] Fix pixman build with clang

2017-12-12 Thread Manoj Gupta
Thanks Emil, I see that this is indeed fixed in master. There is another problem with __builtin_shuffle though which clang doesn't support. On Tue, Dec 12, 2017 at 7:26 AM, Emil Velikov wrote: > On 8 December 2017 at 23:32, Manoj Gupta wrote: > > Hi, > > > > I am encountering a build issue in

Re: [Pixman] [Patch] Fix pixman build with clang

2017-12-12 Thread Emil Velikov
On 8 December 2017 at 23:32, Manoj Gupta wrote: > Hi, > > I am encountering a build issue in pixman when compiling with with clang. > > pixman-mmx.c:100:20: error: constraint 'K' expects an integer constant > expression > : "y" (__A), "K" (__N) > Seems like you guys are building some prett

[Pixman] [Patch] Fix pixman build with clang

2017-12-08 Thread Manoj Gupta
Hi, I am encountering a build issue in pixman when compiling with with clang. pixman-mmx.c:100:20: error: constraint 'K' expects an integer constant expression : "y" (__A), "K" (__N) The error happens because __N is a function parameter and clang does not process it as an integer literal