2010-09-07 00:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/compiler/hbcomp.c
! Revisiting non-*nix stdout/stderr usage in compiler.
From now on the Clipper (and old MS-DOS/Windows tool)
compatible behavior is only maintained for MS-DOS Harbour
builds, for the rest error messages are output to stderr,
regular msgs are output to stdout.
This commit is contained in:
@@ -16,6 +16,14 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-09-07 00:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* src/compiler/hbcomp.c
|
||||
! Revisiting non-*nix stdout/stderr usage in compiler.
|
||||
From now on the Clipper (and old MS-DOS/Windows tool)
|
||||
compatible behavior is only maintained for MS-DOS Harbour
|
||||
builds, for the rest error messages are output to stderr,
|
||||
regular msgs are output to stdout.
|
||||
|
||||
2010-09-06 23:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.cpp
|
||||
! Missing EOL @ EOF.
|
||||
|
||||
@@ -307,10 +307,10 @@ void hb_compOutStd( HB_COMP_DECL, const char * szMessage )
|
||||
if( HB_COMP_PARAM->outStdFunc )
|
||||
HB_COMP_PARAM->outStdFunc( HB_COMP_PARAM->cargo, szMessage );
|
||||
else
|
||||
#if defined( HB_OS_UNIX )
|
||||
fprintf( stdout, "%s", szMessage ); fflush( stdout );
|
||||
#else
|
||||
#if defined( HB_OS_DOS )
|
||||
fprintf( stderr, "%s", szMessage ); fflush( stderr );
|
||||
#else
|
||||
fprintf( stdout, "%s", szMessage ); fflush( stdout );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -322,10 +322,10 @@ void hb_compOutErr( HB_COMP_DECL, const char * szMessage )
|
||||
if( HB_COMP_PARAM->outErrFunc )
|
||||
HB_COMP_PARAM->outErrFunc( HB_COMP_PARAM->cargo, szMessage );
|
||||
else
|
||||
#if defined( HB_OS_UNIX )
|
||||
fprintf( stderr, "%s", szMessage ); fflush( stderr );
|
||||
#else
|
||||
#if defined( HB_OS_DOS )
|
||||
fprintf( stdout, "%s", szMessage ); fflush( stdout );
|
||||
#else
|
||||
fprintf( stderr, "%s", szMessage ); fflush( stderr );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user