bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with AC_CHECK_TYPE on MacOS X


From: Eric Blake
Subject: Re: Problem with AC_CHECK_TYPE on MacOS X
Date: Tue, 31 Mar 2009 05:31:42 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

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

According to Reuben Thomas on 3/31/2009 3:36 AM:
> On Mon, 30 Mar 2009, Eric Blake wrote:
> 
>> Still, is this something that is likely to happen to other users, in
>> which
>> case we should be more careful in how we test for AC_TYPE_SIZE_T even if
>> the user has requested -std=c89?
> 
> Well, the problem occurs before the test: it occurs while parsing the
> standard header files, so I'm not sure there's a lot you can do.

But the mere fact that we are trying to #define size_t, which then
conflicts with a different set of header includes, makes me wonder if we
should first be including the header that caused the conflict, so as not
to detect that we want to do the #define.  Seriously, by withholding
details, you are making it hard to diagnose whether there is anything that
autoconf can or should do to try to work around this, or even decide how
likely this problem is to affect others.  It would be really nice to see
the config.log output of the AC_TYPE_SIZE_T failure, as well as the
preprocessor output of the conftest.c test that shows how the system
headers are inconsistent under -std=c89.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknR/x4ACgkQ84KuGfSFAYAQEQCfd68CHzRSYBjt50NPNXyDJL8V
j3gAn1/GM6r5PbVzetGnpygQFk5mDINi
=qu8R
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]