-----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 [email protected] -----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-----
