summaryrefslogtreecommitdiff
path: root/src/main/WarnLevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/WarnLevel.c')
-rw-r--r--src/main/WarnLevel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/WarnLevel.c b/src/main/WarnLevel.c
index a315ad73..c5557ffe 100644
--- a/src/main/WarnLevel.c
+++ b/src/main/WarnLevel.c
@@ -741,6 +741,8 @@ int CCTK_VParamWarn (const char *thorn,
highlight_warning_messages =
! highlight_warning_messages_ptr || *highlight_warning_messages_ptr;
+ fflush (stdout);
+
/* print to stderr */
if (highlight_warning_messages)
{
@@ -760,6 +762,8 @@ int CCTK_VParamWarn (const char *thorn,
bold_stderr (OFF);
}
+ fflush (stderr);
+
/* print to stdout */
if (highlight_warning_messages)
{
@@ -779,6 +783,8 @@ int CCTK_VParamWarn (const char *thorn,
bold_stdout (OFF);
}
+ fflush (stdout);
+
param_errors++;
return (0);