Compiling PHP 5.3
| From: | Richard Quadling | Date: | Wed, 21 Apr 2010 11:32:21 +0000 |
| Subject: | Compiling PHP 5.3 | ||
| Groups: | php.internals.win | ||
| Request: | Send a blank email to internals-win+get-695@lists.php.net to get a copy of this message | ||
Hi.
I've been playing with compiling PHP.
During nmake, I get a lot of warnings.
How feasible is it to have a warning free compile?
Things like (just some of the warnings generated by a successful compile).
c:\php-sdk\php_53dev\vc9\x86\php_5_3\zend\zend_vm_execute.h(641) :
warning C4018: '>' : signed/unsigned mismatch
c:\php-sdk\php_53dev\vc9\x86\php_5_3\zend\zend_vm_execute.h(644) :
warning C4018: '<' : signed/unsigned mismatch
c:\php-sdk\php_53dev\vc9\x86\php_5_3\zend\zend_vm_execute.h(646) :
warning C4018: '>=' : signed/unsigned mismatch
c:\php-sdk\php_53dev\vc9\x86\php_5_3\zend\zend_vm_execute.h(1320) :
warning C4101: 'free_op1' : unreferenced local variable
c:\php-sdk\php_53dev\vc9\x86\php_5_3\zend\zend_vm_execute.h(17447) :
warning C4101: 'free_op1' : unreferenced local variable
c:\php-sdk\php_53dev\vc9\x86\php_5_3\zend\zend_vm_execute.h(17491) :
warning C4101: 'free_op1' : unreferenced local variable
ext\standard\iptc.c(271) : warning C4018: '<' : signed/unsigned mismatch
ext\standard\iptc.c(314) : warning C4018: '<' : signed/unsigned mismatch
ext\standard\iptc.c(322) : warning C4018: '<' : signed/unsigned mismatch
ext\standard\iptc.c(327) : warning C4018: '>=' : signed/unsigned mismatch
ext\standard\iptc.c(344) : warning C4018: '>' : signed/unsigned mismatch
ext\standard\iptc.c(344) : warning C4018: '>' : signed/unsigned mismatch
ext\dom\document.c(1214) : warning C4090: 'function' : different
'const' qualifiers
ext\dom\document.c(1214) : warning C4090: 'function' : different
'const' qualifiers
php_xmlreader.obj : warning LNK4049: locally defined symbol
_php_dom_create_object imported
php_xmlreader.obj : warning LNK4049: locally defined symbol
_dom_node_class_entry imported
libiconv_a.lib(iconv1.obj) : MSIL .netmodule or module compiled with
/GL found; restarting link with /LTCG; add /LTCG to the link command
line to improve linker performance
libjpeg_a.lib(jcapimin.obj) : warning LNK4099: PDB 'vc90.pdb' was not
found with 'C:\php-sdk\php_53dev\vc9\x86\deps\lib\libjpeg_a.lib' or at
'C:\php-sdk\php_53dev\vc9\x86\PHP_5_3\Release\vc90.pdb'; linking
object as if no debug info
Regards,
Richard Quadling.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling