"John P. Hartmann" <[EMAIL PROTECTED]> writes:

> http://lists.gnu.org/archive/html/autoconf-patches/2005-06/txtRXb8U1rojj.txt

Yes, that did introduce a bug.  I'll address that in a separate email.
I'll also CC: to Zhen Wang, who has reported a similar problem.

> Autoconfig assumes that cc knows of a --version flag, which VAC does not.
> Presumably this is the reason it decides that an AIX system with the Visual
> Age C compiler (which is ANSI compliant) still needs to do K&R style
> function prototypes,

But the code merely does this:

   #if defined (__STDC__) || defined (__cplusplus)
   int
   yyparse (void)
   #else
   int
   yyparse ()
        ;
   #endif

So evidently __STDC__ isn't defined on your platform.  Can you find
out why that might be?  Is there some option you have to give to cc so
that it defines __STDC__, as every standard compiler must?  Perhaps
'configure' needs to be modified into doing that.

> There are two problems, m4sugar.m4 is broken, and the examples directory
> fails to compile (2.2 and on, I think).

Thanks for reporting this.  What's the problem with the examples
directory?  I couldn't tell from the rest of your message.  Is it the
same problem as the one discussed above?


Reply via email to