diff options
-rw-r--r-- | src/doxygen.cpp | 11 | ||||
-rw-r--r-- | src/message.cpp | 6 | ||||
-rw-r--r-- | src/message.h | 1 |
3 files changed, 18 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 9b7ec34..ea2f68f 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -11587,6 +11587,8 @@ void generateOutput() generateExampleDocs(); g_s.end(); + warn_flush(); + g_s.begin("Generating file sources...\n"); generateFileSources(); g_s.end(); @@ -11691,6 +11693,8 @@ void generateOutput() if (g_useOutputTemplate) generateOutputViaTemplate(); + warn_flush(); + if (generateRtf) { g_s.begin("Combining RTF output...\n"); @@ -11701,10 +11705,14 @@ void generateOutput() g_s.end(); } + warn_flush(); + g_s.begin("Running plantuml with JAVA...\n"); PlantumlManager::instance()->run(); g_s.end(); + warn_flush(); + if (Config_getBool(HAVE_DOT)) { g_s.begin("Running dot...\n"); @@ -11752,6 +11760,9 @@ void generateOutput() QDir::setCurrent(oldDir); g_s.end(); } + + warn_flush(); + if ( generateHtml && Config_getBool(GENERATE_QHP) && !Config_getString(QHG_LOCATION).isEmpty()) diff --git a/src/message.cpp b/src/message.cpp index ec98b0f..e107139 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -279,6 +279,12 @@ void term(const char *fmt, ...) exit(1); } +void warn_flush() +{ + fflush(warnFile); +} + + void printlex(int dbg, bool enter, const char *lexName, const char *fileName) { const char *enter_txt = "entering"; diff --git a/src/message.h b/src/message.h index e84344b..dd9eeeb 100644 --- a/src/message.h +++ b/src/message.h @@ -35,6 +35,7 @@ extern void err(const char *fmt, ...) PRINTFLIKE(1, 2); extern void err_full(const char *file,int line,const char *fmt, ...) PRINTFLIKE(3, 4); extern void term(const char *fmt, ...) PRINTFLIKE(1, 2); void initWarningFormat(); +void warn_flush(); extern void printlex(int dbg, bool enter, const char *lexName, const char *fileName); |