#34977 [Opn->Asn]: Compile failure due to use of varargs.h

From: Date: Wed, 26 Oct 2005 13:09:06 +0000
Subject: #34977 [Opn->Asn]: Compile failure due to use of varargs.h
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87084@lists.php.net to get a copy of this message
ID: 34977 Updated by: tony2001@php.net Reported By: ralph at cs dot cf dot ac dot uk -Status: Open +Status: Assigned Bug Type: Compile Failure Operating System: MacOS X 10.4.x PHP Version: 5CVS-2005-10-25 (snap) -Assigned To: +Assigned To: sniper New Comment: Jani, could you plz check the patch? thanks. Previous Comments: ------------------------------------------------------------------------ [2005-10-26 14:57:50] ralph at cs dot cf dot ac dot uk Yes, this patch fixes the compilation bug. Just to be safe I also checked that the compiled snapshot now passes most of the tests, too. Thanks. [I have now removed my config.log file.] ------------------------------------------------------------------------ [2005-10-26 12:54:57] tony2001@php.net Please try this patch: http://tony2001.phpclub.net/dev/tmp/bug34977.diff Remove config.cache and run ./buildconf && ./configure again after applying it. ------------------------------------------------------------------------ [2005-10-26 09:59:34] ralph at cs dot cf dot ac dot uk My config.log file is available for the time being at http://ralph.cs.cf.ac.uk/config.log ------------------------------------------------------------------------ [2005-10-26 09:52:08] tony2001@php.net Yes, varargs.h contains the same here (Linux). Please put your config.log somewhere and paste the URL here. ------------------------------------------------------------------------ [2005-10-26 09:46:55] ralph at cs dot cf dot ac dot uk Yes, the code supplied compiles just fine. Somehow, when compiling php, it tries to pick up the varargs header instead of the stdarg one. varargs.h contains just the following, leading to the messages reported earlier: #ifndef _VARARGS_H #define _VARARGS_H #error "GCC no longer implements <varargs.h>." #error "Revise your code to use <stdarg.h>." #endif ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34977 -- Edit this bug report at http://bugs.php.net/?id=34977&edit=1

« previous php.bugs (#87084) next »