Re: [INTERNALS-WIN] Compiling PHP 5.3
[email protected] (Pierre Joye)
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
hi, On Wed, Apr 21, 2010 at 1:32 PM, Richard Quadling <[email protected]> wrote: > 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? For many we can't do anything in stable branches. But many signed/unsigned should be removed in trunk. The Zend's free_op1 warnings should be removed as well but that's not a sure thing. By the way, I have reviewed many of them and they look harmless. It is however important to get rid of them to keep the noise ration low, so we can catch real troubles more easily. Cheers, > 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 > > -- > Windows Internals Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org