From 923b47a4073d74ceefd935a96c2a8f652d07ac82 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 30 Sep 2009 11:53:29 +0000 Subject: [PATCH] - restore W3 flag to get usefull errors (unused vars, etc.) --- win32/build/config.w32 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1