7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 00:21:31 +00:00

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

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)
}