Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3676 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26650 invoked from network); 1 Aug 2003 11:54:22 -0000 Received: from unknown (HELO max6.rrze.uni-erlangen.de) (131.188.3.214) by pb1.pair.com with SMTP; 1 Aug 2003 11:54:22 -0000 Received: from [131.188.163.104] by max6.rrze.uni-erlangen.de with ESMTP; Fri, 1 Aug 2003 13:54:21 +0200 Message-ID: <5.2.0.9.0.20030801135111.02b59b90@pop3.web.de> X-Sender: snuwschi@pop.rrze.uni-erlangen.de X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 01 Aug 2003 13:54:20 +0200 To: Jani Taskinen Cc: internals@lists.php.net In-Reply-To: References: <5.2.0.9.0.20030731133400.02b19468@pop3.web.de> <5.2.0.9.0.20030731133400.02b19468@pop3.web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Warnings during EXPAT compilation in 4.3.3RC2 From: uwe@thetaphi.de (Uwe Schindler) Yes, compiling of EXPAT alone with gcc 2.95 results in the same warnings. With Forte 7 compiler it works without warnings. But PHP istself cannot be compiled with Forte7, because some configure tests fail with it (for example detection of some header files result in errors [fcntl.h]... See an older mailing to this list...). Are these warnings problematic or not? At 21:56 31.07.2003 +0300, Jani Taskinen wrote: > Try compiling this: > > http://prdownloads.sourceforge.net/expat/expat-1.95.6.tar.gz?download > > You propably get the same warnings? > (using GCC, with native CC your propably don't get them) > > --Jani > > > >On Thu, 31 Jul 2003, Uwe Schindler wrote: > > >Tested today 4.3.3RC2 and got a lot of warning during compilation on > >Solaris 2.9, gcc 2.95: > > > >/bin/sh /pangaea/install/php-4.3.3RC2/libtool --silent --preserve-dup-deps > >--mode=compile /pangaea/install/php-4.3.3RC2/meta_ccld -DBYTEORDER=4321 > >-Iext/xml/ -I/pangaea/install/php-4.3.3RC2/ext/xml/ -DPHP_ATOM_INC > >-I/pangaea/install/php-4.3.3RC2/include > >-I/pangaea/install/php-4.3.3RC2/main -I/pangaea/install/php-4.3.3RC2 > >-I/pangaea/webserver/plugins/include -I/pangaea/install/php-4.3.3RC2/Zend > >-I/edvs1/edvsoft/SYBASE.1003/sybase/include > >-I/pangaea/install/php-4.3.3RC2/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS > >-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT > >-I/pangaea/install/php-4.3.3RC2/TSRM -g -O2 -pthreads -DZTS -prefer-pic > >-c /pangaea/install/php-4.3.3RC2/ext/xml/expat/xmlrole.c -o > >ext/xml/expat/xmlrole.lo > >In file included from > /pangaea/install/php-4.3.3RC2/ext/xml/expat/xmlrole.h:14, > > from > >/pangaea/install/php-4.3.3RC2/ext/xml/expat/xmlrole.c:16: > >/pangaea/install/php-4.3.3RC2/ext/xml/expat/xmltok.h:143: warning: > >`regparm' attribute directive ignored > >/pangaea/install/php-4.3.3RC2/ext/xml/expat/xmltok.h:144: warning: > >`regparm' attribute directive ignored > >/pangaea/install/php-4.3.3RC2/ext/xml/expat/xmltok.h:149: warning: > >`regparm' attribute directive ignored > >/pangaea/install/php-4.3.3RC2/ext/xml/expat/xmltok.h:280: warning: > >`regparm' attribute directive ignored > >/pangaea/install/php-4.3.3RC2/ext/xml/expat/xmltok.h:281: warning: > >`regparm' attribute directive ignored > >/pangaea/install/php-4.3.3RC2/ext/xml/expat/xmlrole.c:114: warning: > >`regparm' attribute directive ignored > >.... > > > > > >Configure: > >CC=gcc ./configure --prefix=/pangaea/PHP4 --disable-cli > >--with-nsapi=/pangaea/webserver --with-sybase-ct=$SYBASE > >--without-mysql --enable-sysvshm --enable-sysvsem --enable-ftp > >--enable-versioning --enable-session --enable-trans-sid --with-zlib > > > > > > ----- Uwe Schindler Addr 1: Bamberger Str. 24a, D-96049 Bamberg Addr 2: Drausnickstr. 153, D-91052 Erlangen http://www.thetaphi.de - http://www.schindlers-software.de eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346) Schindlers Software - Home of Schindlers PC-LATEIN 3.10 DIE Software zum Lateinlernen!