Skip to content

Commit

Permalink
Merge pull request #5035 from rainers/flush_debugversion
Browse files Browse the repository at this point in the history
flush printing DMD version in debug builds
  • Loading branch information
yebblies committed Sep 4, 2015
2 parents adc51b1 + 60dab1b commit 3edecbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mars.d
Expand Up @@ -264,6 +264,7 @@ extern (C++) int tryMain(size_t argc, const(char)** argv)
debug
{
printf("DMD %s DEBUG\n", global._version);
fflush(stdout); // avoid interleaving with stderr output when redirecting
}
unittests();
// Check for malformed input
Expand Down

0 comments on commit 3edecbc

Please sign in to comment.