From 225cf29b8a2c5d38b9fa34f27a749ea64e49c25a Mon Sep 17 00:00:00 2001 From: Andi Jahja Date: Mon, 19 Nov 2001 22:20:04 +0000 Subject: [PATCH] andijahja@cbn.net.id --- harbour/ChangeLog | 8 +++++++- harbour/source/compiler/harbour.y | 3 +++ harbour/source/macro/macro.y | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 1c9f311cf5..eec0f84cf5 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,9 @@ +2001-11-20 05:20 GMT+0700 Andi Jahja + * source/compiler/harbour.y + ! declare function prototype __yy_memcpy() to satisfy Borland + * source/macro/macro.y + ! declare function prototype __yy_memcpy() to satisfy Borland + 2001-11-19 16:00 UTC-0500 David G. Holm * source/rdd/dbfcdx/dbfcdx1.c @@ -16,7 +22,7 @@ * contrib/libct/ctflist.txt * changes according to the above -2001-11-19 xx:xx GMT+0700 Andi Jahja +2001-11-19 18:30 GMT+0700 Andi Jahja * source/compiler/harbour.y ! add type casts for MsVC diff --git a/harbour/source/compiler/harbour.y b/harbour/source/compiler/harbour.y index ffb3608798..c637bd4e3d 100644 --- a/harbour/source/compiler/harbour.y +++ b/harbour/source/compiler/harbour.y @@ -55,6 +55,9 @@ extern void yy_delete_buffer( void * ); /* yacc functions to manage multiple fil #endif /* lex & yacc related prototypes */ +#if !defined(__GNUC__) +extern void __yy_memcpy ( char*, char*, unsigned int ); /* to satisfy Borland compiler */ +#endif extern int yyparse( void ); /* main yacc parsing function */ extern void yyerror( char * ); /* parsing error management function */ extern int yylex( void ); /* main lex token function, called by yyparse() */ diff --git a/harbour/source/macro/macro.y b/harbour/source/macro/macro.y index a682464dcf..2d97919e79 100644 --- a/harbour/source/macro/macro.y +++ b/harbour/source/macro/macro.y @@ -77,6 +77,11 @@ #define free hb_xfree /* This is workaround of yyparse() declaration bug in bison.simple */ + +#if !defined(__GNUC__) + void __yy_memcpy ( char*, char*, unsigned int ); /* to satisfy Borland compiler */ +#endif + #ifdef __GNUC__ #undef __GNUC__ #endif