[mapserver-dev] phpmapscript and MSVC 8 (2005) and 9 (2008)

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Mar 4 09:05:44 EST 2009


I finally solved the problem of building PHPMapScript last night with 
Visual Studio 2005 and 2008 (originally reported here: 
http://n2.nabble.com/phpmapscript-and-MSVC-8-(2005)-Express-td1974646.html#a1974646). 
   One of the PHP devs actually responded to me last night in the PHP 
bug (http://bugs.php.net/bug.php?id=39130).  So for now, to get around 
this issue with PHP < 5.3 and the compilers, here are options:

A)   manually comment the following line in

      /php-5.2.9/main/config.w32.h such as:



        //#define _USE_32BIT_TIME_T 1



or B)  set the flag in PHPMapScript's makefile.vc (-D_USE_32BIT_TIME_T)

I've committed this flag in r8630 (and tested with Visual Studio 2008 
and 2003).

-jeff


-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the mapserver-dev mailing list