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
.... <and a lot of more lines looking like that>
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
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
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
.... <and a lot of more lines looking like that>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
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) --JaniTested 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
.... <and a lot of more lines looking like that>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!
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...).
Could you give the url to that message at news.php.net?
I have compiled PHP on Solaris with forte without any problems..
But it was long ago, something around 4.0.3 - 4.1.0 or so.
Are these warnings problematic or not?
If it works..then not? :)
In any case, report this to the expat people..
--Jani