kicad2step: force immediate printing of messages (mingw issue: we need to flush the stdout buffer)

This commit is contained in:
jean-pierre charras 2022-10-08 16:43:14 +02:00
parent f5fd12c002
commit faae4f9eea
1 changed files with 2 additions and 1 deletions

View File

@ -285,5 +285,6 @@ int KICAD2STEP::Run()
void KICAD2STEP::ReportMessage( const wxString& aMessage )
{
wxPrintf( aMessage );
wxPrintf( aMessage );
fflush( stdout ); // Force immediate printing (needed on mingw)
}