2000-06-03 13:36 UTC+0100 Victor Szakats <info@szelvesz.hu>

This commit is contained in:
Viktor Szakats
2000-06-03 11:33:06 +00:00
parent fb2863f778
commit f85f1fa13c
4 changed files with 29 additions and 9 deletions

View File

@@ -1,3 +1,17 @@
2000-06-03 13:36 UTC+0100 Victor Szakats <info@szelvesz.hu>
* makefile.bc
+ Added a kludge to make it work with Borland C++ 5.3
You'll have to run make with -DBCC_NOSTARTUP.
* source/common/hbver.c
* hb_verBuildInfo() Changed to display the platform info after the
compiler version, because on some platform/OS/combinations (RSXNT,EMX)
the program crashes on platform detection.
* include/hbcomp.h
* Minor formatting
2000-06-03 10:53 UTC+0100 Victor Szakats <info@szelvesz.hu>
* source/debug/*

View File

@@ -138,16 +138,16 @@ typedef struct __FUNC
ULONG lPCodeSize; /* total memory size for pcode */
ULONG lPCodePos; /* actual pcode offset */
int iStaticsBase; /* base for this function statics */
ULONG * pNOOPs; /* pointer to the NOOP array */
ULONG * pJumps; /* pointer to the Jumps array */
ULONG * pNOOPs; /* pointer to the NOOP array */
ULONG * pJumps; /* pointer to the Jumps array */
ULONG iNOOPs; /* NOOPs Counter */
ULONG iJumps; /* Jumps Counter */
BYTE * pStack; /* Compile Time Stack */
USHORT iStackSize; /* Compile Time Stack size */
int iStackIndex; /* Compile Time Stack index */
PCOMDECLARED pStackFunctions[8]; /* Declared Functions on the Compile Time Stack */
PCOMDECLARED pStackFunctions[ 8 ]; /* Declared Functions on the Compile Time Stack */
int iStackFunctions; /* Index into DEclared Functions on Compile Time Stack */
PCOMCLASS pStackClasses[8]; /* Declared Classes on the Compile Time Stack */
PCOMCLASS pStackClasses[ 8 ]; /* Declared Classes on the Compile Time Stack */
int iStackClasses; /* Index into Declared Classes on Compile Time Stack */
struct __FUNC * pOwner; /* pointer to the function/procedure that owns the codeblock */
struct __FUNC * pNext; /* pointer to the next defined function */

View File

@@ -27,8 +27,14 @@
# with external commands named echo.
#
#
# NOTE: BCC_NOSTARTUP must be defined for Borland C++ 5.3 to make it work.
#
!if $d(B16)
BCC_NOSTARTUP = ""
CC = bcc
AS = tasm
@@ -445,7 +451,7 @@ VM_LIB_OBJS = \
\
$(OBJ_DIR)\harbinit.obj
!if !$d(B16)
!if ! $d(BCC_NOSTARTUP)
VM_LIB_OBJS = $(VM_LIB_OBJS) \
$(OBJ_DIR)\startup.obj
!endif

View File

@@ -411,16 +411,16 @@ void hb_verBuildInfo( void )
}
{
char * pszVersion = hb_verPlatform();
hb_conOutErr( "Platform: ", 0 );
char * pszVersion = hb_verCompiler();
hb_conOutErr( "Compiler: ", 0 );
hb_conOutErr( pszVersion, 0 );
hb_conOutErr( hb_conNewLine(), 0 );
hb_xfree( pszVersion );
}
{
char * pszVersion = hb_verCompiler();
hb_conOutErr( "Compiler: ", 0 );
char * pszVersion = hb_verPlatform();
hb_conOutErr( "Platform: ", 0 );
hb_conOutErr( pszVersion, 0 );
hb_conOutErr( hb_conNewLine(), 0 );
hb_xfree( pszVersion );