com php-src: Enable all compiler warnings and linker warnings for debug builds on Windows. This is a slightly modified version of the patch in #55709:
win32/build/config.w32

From: Date: Sun, 29 Mar 2015 04:06:24 +0000
Subject: com php-src: Enable all compiler warnings and linker warnings for debug builds on Windows. This is a slightly modified version of the patch in #55709:
win32/build/config.w32
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85903@lists.php.net to get a copy of this message
Commit: be2111e05ea7085a7c187aeb2ae562ec76084092 Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 29 Mar 2015 06:06:24 +0200 Parents: 8153286efef5d0b642a4beff839257ef205c4545 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=be2111e05ea7085a7c187aeb2ae562ec76084092 Log: Enable all compiler warnings and linker warnings for debug builds on Windows. This is a slightly modified version of the patch in #55709 Bugs: https://bugs.php.net/55709 Changed paths: M win32/build/config.w32 Diff: diff --git a/win32/build/config.w32 b/win32/build/config.w32 index 076a700..f58ca8d 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -29,6 +29,11 @@ if (PHP_DEBUG == "yes" && PHP_DEBUG_PACK == "yes") { ERROR("Use of both --enable-debug and --enable-debug-pack not allowed."); } +if (PHP_DEBUG == "yes") { + ADD_FLAG("CFLAGS"," /Wall "); + ADD_FLAG("LDFLAGS", " /verbose "); +} + ARG_ENABLE('pgi', 'Generate PGO instrumented binaries', 'no'); ARG_WITH('pgo', 'Compile optimized binaries using training data from folder', 'no'); if (PHP_PGI == "yes" || PHP_PGO != "no") {

« previous php.cvs (#85903) next »