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

Alan Coopersmith alan.coopersmith at oracle.com
Mon Apr 25 16:42:03 PDT 2011


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