diff options
author | Pierre Joye <pajoye@php.net> | 2009-09-30 11:53:29 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-09-30 11:53:29 +0000 |
commit | 923b47a4073d74ceefd935a96c2a8f652d07ac82 (patch) | |
tree | 7402aa1dccea38f1e10d6f05cc6b4c78000b49a4 | |
parent | dd8842c28f19e795566a40cb5d7bb0ae3003bc2e (diff) | |
download | php-git-923b47a4073d74ceefd935a96c2a8f652d07ac82.tar.gz |
- restore W3 flag to get usefull errors (unused vars, etc.)
-rw-r--r-- | win32/build/config.w32 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |