Bug #756: alloca.c compiles when it shouldn't as "HAVE_ALLOCA" is set in config.h

From: Date: Fri, 18 Sep 1998 14:44:27 +0000
Subject: Bug #756: alloca.c compiles when it shouldn't as "HAVE_ALLOCA" is set in config.h
Groups: php.dev 
Request: Send a blank email to php-dev+get-1224@lists.php.net to get a copy of this message
From: Danny.Heijl@cevi.be Operating system: NCR Unix MP-RAS 3.02 PHP version: 3.0 Latest CVS PHP Bug Type: Compile Failure Bug description: The linker can't find "xmalloc" referenced by the new "alloca.c" included in the latest CVS. But NCR has it's own "alloca", and "HAVE_ALLOCA" is set accordingly in config.h by the configure script. I changed "#ifndef alloca" to "#ifndef HAVE_ALLOCA" in "alloca.c" and then everything compiles and links OK. Could someone knowledgeable in "alloca" things fix this on the CVS ? I do not want to apply the change to "alloca.c" in the CVS myself as I don't know if I am doing the right thing. It's not because it works for me that it will work for you. -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1224) next »