pajoye Wed, 30 Sep 2009 11:53:29 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288988
Log: - restore W3 flag to get usefull errors (unused vars, etc.) Changed paths: U php/php-src/branches/PHP_5_3/win32/build/config.w32 U php/php-src/trunk/win32/build/config.w32 Modified: php/php-src/branches/PHP_5_3/win32/build/config.w32 =================================================================== --- php/php-src/branches/PHP_5_3/win32/build/config.w32 2009-09-30 11:52:14 UTC (rev 288987) +++ php/php-src/branches/PHP_5_3/win32/build/config.w32 2009-09-30 11:53:29 UTC (rev 288988) @@ -119,7 +119,7 @@ // General CFLAGS for building objects DEFINE("CFLAGS", "/nologo /FD $(BASE_INCLUDES) /D _WINDOWS \ -/D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS"); +/D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS /W3 "); if (VCVERS < 1400) { // Enable automatic precompiled headers @@ -177,7 +177,7 @@ // Set some debug/release specific options if (PHP_DEBUG == "yes") { - ADD_FLAG("CFLAGS", "/LDd /MDd /Gm /Od /D _DEBUG /D ZEND_DEBUG=1 " + + ADD_FLAG("CFLAGS", "/LDd /MDd /W3 /Gm /Od /D _DEBUG /D ZEND_DEBUG=1 " + (X64?"/Zi":"/ZI")); ADD_FLAG("LDFLAGS", "/debug"); // Avoid problems when linking to release libraries that use the release Modified: php/php-src/trunk/win32/build/config.w32 =================================================================== --- php/php-src/trunk/win32/build/config.w32 2009-09-30 11:52:14 UTC (rev 288987) +++ php/php-src/trunk/win32/build/config.w32 2009-09-30 11:53:29 UTC (rev 288988) @@ -177,7 +177,7 @@ // Set some debug/release specific options if (PHP_DEBUG == "yes") { - ADD_FLAG("CFLAGS", "/LDd /MDd /Gm /Od /D _DEBUG /D ZEND_DEBUG=1 " + + ADD_FLAG("CFLAGS", "/LDd /MDd /W3 /Gm /Od /D _DEBUG /D ZEND_DEBUG=1 " + (X64?"/Zi":"/ZI")); ADD_FLAG("LDFLAGS", "/debug"); // Avoid problems when linking to release libraries that use the release
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php