From 96dd4b861f3a4602b1c91eaeeea601fb4a76059d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 14 Sep 2008 14:01:51 +0000 Subject: [PATCH] 2008-09-14 15:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbsetup.ch * Turned off HB_LEGACY_LEVEL by default. * doc/whatsnew.txt * Synced with 1.0.1. * make_vc.mak * contrib/mtpl_vc.mak * MSVS warning level changed to -W4 (with one warning type manually excluded). ; NOTE/TOFIX: This will still generate quite some warnings, hopefully we can fix these until the next major release. --- harbour/ChangeLog | 15 +++++++++++++++ harbour/contrib/mtpl_vc.mak | 2 +- harbour/doc/whatsnew.txt | 3 +++ harbour/include/hbsetup.ch | 2 +- harbour/make_vc.mak | 2 +- 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 48f71bdf4b..f994261179 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,21 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-09-14 15:56 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * include/hbsetup.ch + * Turned off HB_LEGACY_LEVEL by default. + + * doc/whatsnew.txt + * Synced with 1.0.1. + + * make_vc.mak + * contrib/mtpl_vc.mak + * MSVS warning level changed to -W4 (with one warning + type manually excluded). + ; NOTE/TOFIX: This will still generate quite some warnings, + hopefully we can fix these until the next major + release. + 2008-09-14 13:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak * make_vc.mak diff --git a/harbour/contrib/mtpl_vc.mak b/harbour/contrib/mtpl_vc.mak index 2a04fce338..551056ee54 100644 --- a/harbour/contrib/mtpl_vc.mak +++ b/harbour/contrib/mtpl_vc.mak @@ -124,7 +124,7 @@ CFLAGS_VER = -Ogt2yb1p -GX- -G6 -YX !endif #----------- -CFLAGS = -nologo -W3 -w34701 -Gs -I$(INCLUDE_DIR) $(CFLAGS_VER) -T$(HB_BUILD_MODE) \ +CFLAGS = -nologo -W4 -wd4127 -Gs -I$(INCLUDE_DIR) $(CFLAGS_VER) -T$(HB_BUILD_MODE) \ $(C_USR) $(CFLAGS) #----------- diff --git a/harbour/doc/whatsnew.txt b/harbour/doc/whatsnew.txt index 7cd5d40bc2..61191a7218 100644 --- a/harbour/doc/whatsnew.txt +++ b/harbour/doc/whatsnew.txt @@ -60,6 +60,9 @@ General - Changed GNU-make name of MinGW WinCE compiler (HB_COMPILER) from 'cemgw' to 'mingwce'. Please update your system, if you've been using this directly (and not via make_*ce.sh scripts). +- Memory statistics module now turned off by default for optimal + performance. It can be turned on by setting HB_FM_STATISTICS + macro. Core ============================= diff --git a/harbour/include/hbsetup.ch b/harbour/include/hbsetup.ch index 6a8d73bce5..555b77121a 100644 --- a/harbour/include/hbsetup.ch +++ b/harbour/include/hbsetup.ch @@ -80,7 +80,7 @@ * NOTE: C code using legacy Clipper (.api) headers is unaffected. */ #ifndef HB_LEGACY_OFF - #define HB_LEGACY_LEVEL 1 +/* #define HB_LEGACY_LEVEL 1 */ #endif #endif /* HB_SETUP_CH_ */ diff --git a/harbour/make_vc.mak b/harbour/make_vc.mak index 8a803e22a8..4d91ab5d22 100644 --- a/harbour/make_vc.mak +++ b/harbour/make_vc.mak @@ -178,7 +178,7 @@ CFLAGS_VER = -Ot2b1 -EHs-c- -D_CRT_SECURE_NO_DEPRECATE CFLAGS_VER = -Ogt2yb1p -GX- -G6 -YX !endif -CFLAGS = -nologo -W3 -w34701 -Gs -I$(INCLUDE_DIR) $(CFLAGS_VER) -T$(HB_BUILD_MODE) \ +CFLAGS = -nologo -W4 -wd4127 -Gs -I$(INCLUDE_DIR) $(CFLAGS_VER) -T$(HB_BUILD_MODE) \ $(C_USR) $(CFLAGS) -I$(OBJ_DIR) #-----------