Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16732 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3909 invoked by uid 1010); 16 Jun 2005 15:04:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3878 invoked from network); 16 Jun 2005 15:04:43 -0000 Received: from unknown (HELO gmail.com) (127.0.0.1) by localhost with SMTP; 16 Jun 2005 15:04:43 -0000 X-Host-Fingerprint: 64.233.184.203 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.203:9807] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 57/7B-20931-90591B24 for ; Thu, 16 Jun 2005 11:04:42 -0400 Received: by wproxy.gmail.com with SMTP id 57so537014wri for ; Thu, 16 Jun 2005 08:04:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QEjC7QeDNumMXaeu4A2ij4Noz+8DLXJ9oCJDYW+6w/CC7bYqSvjoPAG64x2QwaHNbktLY1/NbZz6BJ+wpGWlKrnrKmCWCEOKi7aZ8x8H1wmtx99A+uq9wPVvOPsVJNOcDtNQcb8IFXD+6p57q8NG+J10ADaFWFOM80tCWMnn8BY= Received: by 10.54.98.17 with SMTP id v17mr669579wrb; Thu, 16 Jun 2005 08:03:59 -0700 (PDT) Received: by 10.54.153.5 with HTTP; Thu, 16 Jun 2005 08:03:59 -0700 (PDT) Message-ID: <4e89b42605061608035320ecc6@mail.gmail.com> Date: Thu, 16 Jun 2005 11:03:59 -0400 Reply-To: Wez Furlong To: Rob Richards Cc: "internals@lists.php.net" In-Reply-To: <42B16B5F.6040402@ctindustries.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42B16B5F.6040402@ctindustries.net> Subject: Re: [PHP-DEV] HEAD doesnt compile From: kingwez@gmail.com (Wez Furlong) I just fixed this; it was a trailing ; problem in that macro. --Wez. On 6/16/05, Rob Richards wrote: > Can no longer compile HEAD. When replacing PHP_ARRAY_CMP_FUNC_VARS in > the 2 static functions with the actual variable definitions it compiles > fine. >=20 > /home/rrichards/php5/ext/standard/array.c: In function > `php_array_intersect': > /home/rrichards/php5/ext/standard/array.c:2864: parse error before `int' > /home/rrichards/php5/ext/standard/array.c:2879: > `intersect_key_compare_func' undeclared (first use in this function) > /home/rrichards/php5/ext/standard/array.c:2879: (Each undeclared > identifier is reported only once > /home/rrichards/php5/ext/standard/array.c:2879: for each function it > appears in.) > /home/rrichards/php5/ext/standard/array.c:2888: > `intersect_data_compare_func' undeclared (first use in this function) > /home/rrichards/php5/ext/standard/array.c:3051: > `intersect_data_compare_func' used prior to declaration > /home/rrichards/php5/ext/standard/array.c:3051: warning: implicit > declaration of function `intersect_data_compare_func' > /home/rrichards/php5/ext/standard/array.c:3055: > `intersect_key_compare_func' used prior to declaration > /home/rrichards/php5/ext/standard/array.c:3055: warning: implicit > declaration of function `intersect_key_compare_func' > /home/rrichards/php5/ext/standard/array.c:3069: > `intersect_data_compare_func' used prior to declaration > /home/rrichards/php5/ext/standard/array.c:3115: > `intersect_data_compare_func' used prior to declaration > /home/rrichards/php5/ext/standard/array.c:3131: > `intersect_data_compare_func' used prior to declaration > /home/rrichards/php5/ext/standard/array.c: In function `php_array_diff': > /home/rrichards/php5/ext/standard/array.c:3239: parse error before `int' > /home/rrichards/php5/ext/standard/array.c:3255: `diff_key_compare_func' > undeclared (first use in this function) > /home/rrichards/php5/ext/standard/array.c:3264: `diff_data_compare_func' > undeclared (first use in this function) > /home/rrichards/php5/ext/standard/array.c:3427: `diff_data_compare_func' > used prior to declaration > /home/rrichards/php5/ext/standard/array.c:3427: warning: implicit > declaration of function `diff_data_compare_func' > /home/rrichards/php5/ext/standard/array.c:3431: `diff_key_compare_func' > used prior to declaration > /home/rrichards/php5/ext/standard/array.c:3431: warning: implicit > declaration of function `diff_key_compare_func' > /home/rrichards/php5/ext/standard/array.c:3450: `diff_data_compare_func' > used prior to declaration > /home/rrichards/php5/ext/standard/array.c:3489: `diff_data_compare_func' > used prior to declaration > /home/rrichards/php5/ext/standard/array.c:3505: `diff_data_compare_func' > used prior to declaration > make: *** [ext/standard/array.lo] Error 1 >=20 > Rob >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >=20 >