From 2f3eb03d7f9a238797eba2ed09b965cdbbe77b5e Mon Sep 17 00:00:00 2001 From: Lorenzo Fiorini Date: Wed, 18 Apr 2007 07:42:35 +0000 Subject: [PATCH] 2007-04-18 09:43 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/compiler/gencobj.c * fixed declaration --- harbour/ChangeLog | 6 +++++- harbour/source/compiler/gencobj.c | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 39f9bbead0..a887bb27a0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,10 +8,14 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-04-18 09:43 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) + * harbour/source/compiler/gencobj.c + * fixed declaration + 2007-04-18 09:23 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/compiler/gencobj.c * added support of HB_CFG_FILE envvar which define the file name to use - for -go compiler switch + for -go compiler switch borrowed from xHarbour * harbour/config/w32/mingw32.cf * fixed a typo diff --git a/harbour/source/compiler/gencobj.c b/harbour/source/compiler/gencobj.c index 3ad819bc68..1ae5142683 100644 --- a/harbour/source/compiler/gencobj.c +++ b/harbour/source/compiler/gencobj.c @@ -108,6 +108,7 @@ void hb_compGenCObj( HB_COMP_DECL, PHB_FNAME pFileName ) #else char * pszEnv = NULL; #endif + char * pszCfgFileName = NULL; FILE * filecfg; BOOL bVerbose = FALSE; /* Don't show C compiler messages (default). */ BOOL bDelTmp = TRUE; /* Delete intermediate C file (default). */ @@ -126,7 +127,7 @@ void hb_compGenCObj( HB_COMP_DECL, PHB_FNAME pFileName ) /* Set up things */ - char * pszCfgFileName = hb_getenv( "HB_CFG_FILE" ); + pszCfgFileName = hb_getenv( "HB_CFG_FILE" ); if( !pszCfgFileName ) {