bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_FUNC_ALLOCA shouldn't define prototype


From: Bruno Haible
Subject: Re: AC_FUNC_ALLOCA shouldn't define prototype
Date: Thu, 5 Aug 2010 21:38:07 +0200
User-agent: KMail/1.9.9

Joerg Sonnenberger wrote:
> > So, I don't understand how you see a "conflict".
> 
> The conflicting declarations are a result of the default namespace
> containing _NETBSD_SOURCE if no (other) standard compliance macro is
> set.

Still, I don't see how you can get a conflict with <stdlib.h> if the test
code does not include <stdlib.h>, and your report is very vague.

Can you please give a reproducible test case? This means,
  - Show a configure.ac that leads to the conflict.
  - Which autoconf version did you use?
  - Show how you invoke configure?
  - Which compiler is being used?
  - On which platform is this (FreeBSD, NetBSD, OpenBSD)? and which version?
  - Did it say "checking for alloca... yes" or "checking for alloca... no"?
  - What error messages did you see, from which tool, at which step?
  - Did you get a conflict in your program, when it included <stdlib.h>,
    after configure had run?

Bruno



reply via email to

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