2010-07-10 10:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbassert.h
! Fixed to only enable assert()s when HB_BUILD_DEBUG is activated.
(So far assert() was disabled for msvcarm only in normal builds.)
Pls check me. In some places assert(0) is used which is a permanent
exit, so maybe these would need to be replaced with hb_errInternal()?
* include/assert.ch
! Typo in comment.
* contrib/make.hbs
% Minor opt.
This commit is contained in:
@@ -16,6 +16,19 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-07-10 10:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* include/hbassert.h
|
||||
! Fixed to only enable assert()s when HB_BUILD_DEBUG is activated.
|
||||
(So far assert() was disabled for msvcarm only in normal builds.)
|
||||
Pls check me. In some places assert(0) is used which is a permanent
|
||||
exit, so maybe these would need to be replaced with hb_errInternal()?
|
||||
|
||||
* include/assert.ch
|
||||
! Typo in comment.
|
||||
|
||||
* contrib/make.hbs
|
||||
% Minor opt.
|
||||
|
||||
2010-07-10 08:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* src/rtl/gtdos/gtdos.c
|
||||
* src/rtl/gtwin/gtwin.c
|
||||
|
||||
@@ -159,10 +159,6 @@ PROCEDURE StandAlone( ... )
|
||||
CASE "hbimplib"
|
||||
EXIT
|
||||
CASE "hbdyn"
|
||||
IF GetEnv( "HB_BUILD_SHARED" ) == "yes"
|
||||
cOptionsPre += " -shared"
|
||||
ENDIF
|
||||
EXIT
|
||||
CASE "hbexe"
|
||||
IF GetEnv( "HB_BUILD_SHARED" ) == "yes"
|
||||
cOptionsPre += " -shared"
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
#ifdef NDEBUG
|
||||
|
||||
/* When NDEBUG is definded, ignore all ASSERT() calls */
|
||||
/* When NDEBUG is defined, ignore all ASSERT() calls */
|
||||
#command ASSERT( <exp> [, <msg>] ) =>
|
||||
|
||||
#else
|
||||
|
||||
@@ -55,12 +55,12 @@
|
||||
|
||||
#include "hbapi.h"
|
||||
|
||||
#if defined( HB_OS_WIN_CE ) && defined( _MSC_VER )
|
||||
#if ( defined( HB_OS_WIN_CE ) && defined( _MSC_VER ) ) || !defined( HB_TR_LEVEL_DEBUG )
|
||||
#ifndef assert
|
||||
#define assert(exp) ((void)0)
|
||||
#endif
|
||||
#else
|
||||
#include <assert.h>
|
||||
#endif /* HB_OS_WIN_CE */
|
||||
#endif
|
||||
|
||||
#endif /* HB_ASSERT_H_ */
|
||||
|
||||
Reference in New Issue
Block a user