[PATCH v3] glx: Silence warnings when building with clang

Jeremy Huddleston jeremyhu at apple.com
Mon Apr 25 18:24:28 PDT 2011


Well I changed it to -Werror -Werror=attributes which I assume will produce the same results as well ... ?

On Apr 25, 2011, at 16:42, Alan Coopersmith wrote:

> On 04/25/11 12:20 PM, Jeremy Huddleston wrote:
>> This replaces AX_TLS (GPL3) with XORG_TLS (MIT)
> 
> Seems to work okay on Solaris 11 with Studio 12.1 compilers:
> 
> checking for thread local storage (TLS) support... __thread
> checking for tls_model attribute support... no
> 
> (The second test fails with:
> cc: -W option with unknown program error=unknown-attributes
> but gets the right answer, since that's not one of the __attribute__
> values currently supported by Studio compilers:
> http://download.oracle.com/docs/cd/E18659_01/html/821-1384/gjzke.html )
> 
> Acked-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> 
> -- 
> 	-Alan Coopersmith-        alan.coopersmith at oracle.com
> 	 Oracle Solaris Platform Engineering: X Window System
> 



More information about the xorg-devel mailing list