]> granicus.if.org Git - php/commitdiff
- restore W3 flag to get usefull errors (unused vars, etc.)
authorPierre Joye <pajoye@php.net>
Wed, 30 Sep 2009 11:53:29 +0000 (11:53 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 30 Sep 2009 11:53:29 +0000 (11:53 +0000)
win32/build/config.w32

index 81398ad97c5985a4458acb092654633d7e174542..0216d3947de3796c26a764a472e4409d9ea5eddd 100644 (file)
@@ -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