|
From: | Vincent Torri |
Subject: | alloca redefinition on freebsd |
Date: | Tue, 28 Jul 2009 10:53:42 +0200 (CEST) |
Hey,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
[Prev in Thread] | Current Thread | [Next in Thread] |