Re: Warnings during EXPAT compilation in 4.3.3RC2
| From: | Jani Taskinen | Date: | Thu, 31 Jul 2003 18:56:00 +0000 |
| Subject: | Re: Warnings during EXPAT compilation in 4.3.3RC2 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3669@lists.php.net to get a copy of this message | ||
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
>.... <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
>
>
>