Albert Chin wrote:
On Mon, Feb 05, 2007 at 10:49:52AM -0600, Matthew Woehlke wrote:
Paul Eggert wrote:
For what it's worth, we should be encouraging that anyway.
AC_PROG_CC_STDC should add -qlanglvl=extc99 to CC, and if this
isn't working then we should fix AC_PROG_CC_STDC.
I don't think it is (at least, it didn't when I tried to build coreutils
on AIX 5.1). My AIX machine is (supposedly) unavailable at the moment
but I will probably investigate why -qlanglvl=*c99 is not being used
when I get a chance.
It's not an issue on AIX 5.1 because 5.2+ introduced va_copy in
/usr/include/stdarg.h.
I wasn't talking about va_copy, I was talking about the general problem
of configure not figuring out to use -qlanglvl=*c99. This *is* an issue
for coreutils on AIX 5.1 (because otherwise one must use the c99-to-c89
patch when there is a c99 compiler available). We have the same
underlying problem, with two completely different causes.
Clearer? :-)
--
Matthew
This message is non-smoking