On Thu, Aug 05, 2010 at 01:26:40PM +0200, Bruno Haible 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. > The test code in > AC_FUNC_ALLOCA does not include <stdlib.h>, only <stddef.h>; how can that > clash? And after configure has run, the Autoconf manual recommends to > declare alloca as follows: This is not what AC_FUNC_ALLOCA is using. > But seeing that no platform nowadays assumes a return type of 'char *' for > alloca, it would be possible to change the prototype anyway: Can you also please make it a proper function prototype? E.g. void *alloca(size_t)? I don't care much about it then. Joerg