diff --git a/common/reporter.cpp b/common/reporter.cpp index 2f82940651..0d8ae64ab8 100644 --- a/common/reporter.cpp +++ b/common/reporter.cpp @@ -130,6 +130,10 @@ REPORTER& CLI_REPORTER::Report( const wxString& aMsg, SEVERITY aSeverity ) else wxFprintf( target, aMsg + wxS( "\n" ) ); + // Needed after wxPrintf (or printf) to be sure the message is immediately printed + // (i.e. not stored in some i/o buffer) + fflush( target ); + return *this; }