Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10134 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9742 invoked by uid 1010); 28 May 2004 04:32:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9716 invoked from network); 28 May 2004 04:32:42 -0000 Received: from unknown (HELO took.shire) (68.126.141.9) by pb1.pair.com with SMTP; 28 May 2004 04:32:42 -0000 Received: (qmail 62727 invoked by uid 1001); 28 May 2004 04:37:47 -0000 Date: Fri, 28 May 2004 04:37:47 +0000 To: internals@lists.php.net Message-ID: <20040528043747.GD38565@bagend.shire> Mail-Followup-To: internals@lists.php.net References: <5.1.0.14.2.20040527180858.0365c350@127.0.0.1> <20040527201117.GA38565@bagend.shire> <20040528002954.GA5494@shaka.acc.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040528002954.GA5494@shaka.acc.umu.se> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] RC3RC1 From: curt@php.net (Curt Zirzow) * Thus wrote Daniel Fahlgren (guru@acc.umu.se): > On Thu, May 27, 2004 at 08:11:17PM +0000, Curt Zirzow wrote: > > * Thus wrote Andi Gutmans (andi@zend.com): > > > Please test. If there are no critical problems I'll release RC3 tomorrow > > > which I think will be the last RC for 5.0. > > > > > > > I'm getting an error during compile, > > [..] > > In file included > > from /usr/home/curt/source/php-5.0.0RC3RC1/Zend/zend.h:244, > > from /usr/home/curt/source/php-5.0.0RC3RC1/main/php.h:34, > > from /usr/home/curt/source/php-5.0.0RC3RC1/ext/standard/proc_open.c:25: > > /usr/home/curt/source/php-5.0.0RC3RC1/Zend/zend_hash.h:39: > > error: syntax error before "uint" > > I guess you are using Solaris or AIX, right? I figured out a way to get > it to compile cleanly on Solaris, but I'm not sure if Wes fixed the > CVS.. Any how.. if you add > > #define __EXTENSIONS__ > #define _ALL_SOURCE > #include > Yep, those defines are there, but If I add #define __BSD_VISIBLE 1 It works. I tracked it down that it broke for me at revision 1.21 (the pty support for proc_open), the macro #define _XOPEN_SOURCE 500 causes my system to change which POSIX version to compile with. If I take that _XOPEN_SOURCE line out it compiles fine. Is that #define needed? I have a strong feeling the __EXTENSIONS__ and _ALL_SOURCE macros could be remove as well. Curt -- "I used to think I was indecisive, but now I'm not so sure."