[PATCH xserver 1/1] list: Use offsetof() to determine member offsets within a structure
Keith Packard
keithp at keithp.com
Tue Sep 4 11:54:50 PDT 2012
> 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?
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120904/1f1690b0/attachment-0001.pgp>
More information about the xorg-devel
mailing list