#47787 [NEW]: VC++ 2005 build error
From: dpage at pgadmin dot org Date: Thu, 26 Mar 2009 11:32:43 +0000 Subject: #47787 [NEW]: VC++ 2005 build error Groups: php.bugs Request: Send a blank email to php-bugs+get-135148@lists.php.net to get a copy of this message
From: dpage at pgadmin dot org Operating system: Windows XP PHP version: 5.2.9 PHP Bug Type: Compile Failure Bug description: VC++ 2005 build error Description: ------------ Building 5.2.9 with VC++ 2005 results in the error: main\spprintf.c(184) : error C2491: 'strnlen' : definition of dllimport function not allowed This appears to be due to the change here: http://cvs.php.net/viewvc.cgi/php-src/main/spprintf.c?r1=1.25.2.2.2.14&r2=1.25.2.2.2.15 The issue is resolved by adding: #define HAVE_STRNLEN 1 to win32/build/config.w32.h.in -- Edit bug report at http://bugs.php.net/?id=47787&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47787&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47787&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47787&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47787&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47787&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47787&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47787&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47787&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47787&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47787&r=support Expected behavior: http://bugs.php.net/fix.php?id=47787&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47787&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47787&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47787&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47787&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47787&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47787&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47787&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47787&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47787&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47787&r=mysqlcfg
Thread (9 messages)
- #47787 [Opn->Fbk]: VC++ 2005 build error
- #47787 [Fbk->Opn]: VC++ 2005 build error
- #47787 [Opn->Fbk]: VC++ 2005 build error
- #47787 [Fbk->Opn]: VC++ 2005 build error
- #47787 [Opn->Fbk]: VC++ 2005 build error
- #47787 [Fbk->Opn]: VC++ 2005 build error
- #47787 [Opn->Bgs]: VC++ 2005 build error
- #47787 [Bgs]: VC++ 2005 build error
| « previous | php.bugs (#135148) | next » |
|---|