Re: [Mesa-dev] [PATCH:mesa 2/4] Avoid fighting with Solaris headers over isnormal()

2015-02-17 Thread Ian Romanick
On 02/17/2015 02:12 PM, Matt Turner wrote: > On Tue, Feb 17, 2015 at 1:59 PM, Connor Abbott wrote: >> On Tue, Feb 17, 2015 at 4:41 PM, Alan Coopersmith >> wrote: >>> On 02/17/15 10:21 AM, Emil Velikov wrote: Hi Alan, On 16/02/15 02:41, Alan Coopersmith wrote: > > When

Re: [Mesa-dev] [PATCH:mesa 2/4] Avoid fighting with Solaris headers over isnormal()

2015-02-17 Thread Matt Turner
On Tue, Feb 17, 2015 at 1:59 PM, Connor Abbott wrote: > On Tue, Feb 17, 2015 at 4:41 PM, Alan Coopersmith > wrote: >> On 02/17/15 10:21 AM, Emil Velikov wrote: >>> >>> Hi Alan, >>> >>> On 16/02/15 02:41, Alan Coopersmith wrote: When compiling in C99 or C++11 modes, Solaris defines isnor

Re: [Mesa-dev] [PATCH:mesa 2/4] Avoid fighting with Solaris headers over isnormal()

2015-02-17 Thread Connor Abbott
On Tue, Feb 17, 2015 at 4:41 PM, Alan Coopersmith wrote: > On 02/17/15 10:21 AM, Emil Velikov wrote: >> >> Hi Alan, >> >> On 16/02/15 02:41, Alan Coopersmith wrote: >>> >>> When compiling in C99 or C++11 modes, Solaris defines isnormal() as >>> a macro via , which causes the function definition to

Re: [Mesa-dev] [PATCH:mesa 2/4] Avoid fighting with Solaris headers over isnormal()

2015-02-17 Thread Alan Coopersmith
On 02/17/15 10:21 AM, Emil Velikov wrote: Hi Alan, On 16/02/15 02:41, Alan Coopersmith wrote: When compiling in C99 or C++11 modes, Solaris defines isnormal() as a macro via , which causes the function definition to become too mangled to compile. Is this series sufficient to get mesa working

Re: [Mesa-dev] [PATCH:mesa 2/4] Avoid fighting with Solaris headers over isnormal()

2015-02-17 Thread Emil Velikov
Hi Alan, On 16/02/15 02:41, Alan Coopersmith wrote: > When compiling in C99 or C++11 modes, Solaris defines isnormal() as > a macro via , which causes the function definition to become > too mangled to compile. > Is this series sufficient to get mesa working again with Solaris ? Afaics there is a

[Mesa-dev] [PATCH:mesa 2/4] Avoid fighting with Solaris headers over isnormal()

2015-02-15 Thread Alan Coopersmith
When compiling in C99 or C++11 modes, Solaris defines isnormal() as a macro via , which causes the function definition to become too mangled to compile. Signed-off-by: Alan Coopersmith --- src/glsl/ir_constant_expression.cpp |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/