[PATCH xserver 1/1] list: Use offsetof() to determine member offsets within a structure

Alan Coopersmith alan.coopersmith at oracle.com
Tue Sep 4 12:49:28 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/ 4/12 11:54 AM, Keith Packard wrote:
> 
>> AC_C_TYPEOF seems like the best bet to me, but I'm not sure it's in 
>> autoconf 2.60 (our current AC_PREREQ). All I've got here is 2.59 (which 
>> does not appear to have AC_C_TYPEOF) and 2.64 (which does).
> 
> Good news, AC_C_TYPEOF *is* in autoconf 2.60:
> 
> http://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
> 
> That clears the way to using this macro without having to bump the version
> of autoconf we're using.
> 
>> It looks like the autoconf AC_C_TYPEOF checks for both typeof and 
>> __typeof__.
> 
>> Alan -- I'm afraid we'll need to rely upon you to test this and make sure
>> it works for the Sun compilers...
> 
> I think we're still waiting to see if Alan is happy with the patch before I
> merge it in and pack up 1.13 for release?

I am, as I said yesterday in the other thread:
http://lists.x.org/archives/xorg-devel/2012-September/033553.html


- -- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlBGW0gACgkQovueCB8tEw7L7wCeJfCuOM1wKmPi5hdvsh+Za2sk
Qr0An3QdQ7x982iKQdwXjJBkAx0aUtXm
=Fex8
-----END PGP SIGNATURE-----


More information about the xorg-devel mailing list