From 24f74ea70a19ccd7bcb489853fc73a972ab8638f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 27 Jul 2017 02:30:09 +0300 Subject: Fix to print to diagnostics stream instead of std::cerr --- build2/cc/msvc.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'build2/cc/msvc.cxx') diff --git a/build2/cc/msvc.cxx b/build2/cc/msvc.cxx index b00b8a9..993065d 100644 --- a/build2/cc/msvc.cxx +++ b/build2/cc/msvc.cxx @@ -2,8 +2,6 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file -#include // cerr - #include #include #include @@ -54,7 +52,7 @@ namespace build2 // string l; if (getline (is, l) && l != src.leaf ().string ()) - cerr << l << endl; + diag_stream_lock () << l << endl; } void @@ -80,7 +78,7 @@ namespace build2 // can't quite reproduce it. // - cerr << l << endl; + diag_stream_lock () << l << endl; break; } } -- cgit v1.1