[Top][All Lists]

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

alloca redefinition on freebsd

From: Vincent Torri
Subject: alloca redefinition on freebsd
Date: Tue, 28 Jul 2009 10:53:42 +0200 (CEST)


if one uses AC_FUNC_ALLOCA, the autoconf documentation gives the way to correctly define alloca.

On FreeBSD, alloca is already defined in stdlib.h. So if stdlib.h is included before that piece of code, a warning is displayed by gcc.

Shouldn't a guard be added in the piece of code of the docmentation of AC_FUNC_ALLOCA in order to avoid that warning (like #ifndef alloca etc...) ?

thank you

Vincent Torri

reply via email to

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