2007-08-21 16:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/memvars.c
+ added __MVSETBASE() function
* harbour/source/pp/ppcore.c
* redirect error messages when error trap is not defined into
user dispout function
* harbour/include/hbcomp.h
* harbour/source/compiler/hbmain.c
* harbour/source/compiler/cmdcheck.c
* harbour/source/compiler/hbcomp.c
* harbour/source/compiler/genjava.c
* harbour/source/compiler/genc.c
* harbour/source/compiler/hbcmplib.c
* harbour/source/compiler/ppcomp.c
* harbour/source/compiler/gencli.c
* harbour/source/compiler/genhrb.c
* harbour/source/compiler/gencobj.c
* harbour/source/compiler/genobj32.c
* harbour/source/compiler/hbusage.c
* harbour/source/compiler/hbgenerr.c
+ added hb_compOutStd() and hb_compOutErr()
* redirected all compiler output to above functions
This commit is contained in:
@@ -83,8 +83,10 @@ void hb_compGenJava( HB_COMP_DECL, PHB_FNAME pFileName )
|
||||
|
||||
if( ! HB_COMP_PARAM->fQuiet )
|
||||
{
|
||||
printf( "Generating Java source output to \'%s\'... ", szFileName );
|
||||
fflush( stdout );
|
||||
char buffer[ 80 + _POSIX_PATH_MAX ];
|
||||
snprintf( buffer, sizeof( buffer ),
|
||||
"Generating Java source output to \'%s\'... ", szFileName );
|
||||
hb_compOutStd( HB_COMP_PARAM, buffer );
|
||||
}
|
||||
|
||||
nChar = 0;
|
||||
@@ -178,5 +180,5 @@ void hb_compGenJava( HB_COMP_DECL, PHB_FNAME pFileName )
|
||||
fclose( fOut );
|
||||
|
||||
if( ! HB_COMP_PARAM->fQuiet )
|
||||
printf( "Done.\n" );
|
||||
hb_compOutStd( HB_COMP_PARAM, "Done.\n" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user