From: Pierre Joye Date: Wed, 30 Sep 2009 11:53:29 +0000 (+0000) Subject: - restore W3 flag to get usefull errors (unused vars, etc.) X-Git-Tag: php-5.4.0alpha1~191^2~2564 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=923b47a4073d74ceefd935a96c2a8f652d07ac82;p=php - restore W3 flag to get usefull errors (unused vars, etc.) --- diff --git a/win32/build/config.w32 b/win32/build/config.w32 index 81398ad97c..0216d3947d 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -177,7 +177,7 @@ DEFINE("LIBS", "kernel32.lib ole32.lib user32.lib advapi32.lib shell32.lib ws2_3 // 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