sebastian Sun Nov 20 12:03:15 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/win32/build config.w32
Log:
Use /RTC1 instead of /GZ for MS VisualStudio 2005.
http://cvs.php.net/diff.php/php-src/win32/build/config.w32?r1=1.40.2.2&r2=1.40.2.3&ty=u
Index: php-src/win32/build/config.w32
diff -u php-src/win32/build/config.w32:1.40.2.2
php-src/win32/build/config.w32:1.40.2.3
--- php-src/win32/build/config.w32:1.40.2.2 Thu Sep 22 09:16:30 2005
+++ php-src/win32/build/config.w32 Sun Nov 20 12:03:14 2005
@@ -1,5 +1,5 @@
// vim:ft=javascript
-// $Id: config.w32,v 1.40.2.2 2005/09/22 13:16:30 edink Exp $
+// $Id: config.w32,v 1.40.2.3 2005/11/20 17:03:14 sebastian Exp $
// "Master" config file; think of it as a configure.in
// equivalent.
@@ -88,12 +88,18 @@
if (VCVERS < 14) {
// Enable automatic precompiled headers
ADD_FLAG('CFLAGS', ' /YX ');
+
+ // Set some debug/release specific options
+ ADD_FLAG('CFLAGS', ' /GZ ');
}
if (VCVERS >= 14) {
// fun stuff: MS deprecated ANSI stdio and similar functions
// disable annoying warnings
ADD_FLAG('CFLAGS', ' /wd4996 ');
+
+ // Set some debug/release specific options
+ ADD_FLAG('CFLAGS', ' /RTC1 ');
}
// General link flags
@@ -112,7 +118,7 @@
// Set some debug/release specific options
if (PHP_DEBUG == "yes") {
- ADD_FLAG("CFLAGS", "/LDd /MDd /Gm /ZI /Od /GZ /D _DEBUG /D
ZEND_DEBUG=1");
+ ADD_FLAG("CFLAGS", "/LDd /MDd /Gm /ZI /Od /D _DEBUG /D ZEND_DEBUG=1");
ADD_FLAG("LDFLAGS", "/debug");
// Avoid problems when linking to release libraries that use the release
// version of the libc
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php