Compiler ANSI check in configure breaks using Clang
andrew at aj.id.au
Fri Dec 11 12:51:10 CET 2009
On 11/12/09 20:16, Torbjorn Granlund wrote:
> Andrew Jeffery<andrew at aj.id.au> writes:
> It seems clang is stricter on this than GCC, though I can't see why
> the code contained in the configure script would be correct.
> I think clang is wrong in assuming main has any particular properties,
Fair enough :) I guess producing a warning would be a better idea rather
than erroring out. I might file a ticket with Clang on that one.
> but we might as well att a * there. (Incidentally, this was fixed a
> while ago in the mainline.)
Ah :) For some reason I checked out the 4.3 repo and not unstable.
More information about the gmp-bugs