summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/execute.cc2
-rw-r--r--src/task_ar.cc2
-rw-r--r--src/task_cc.cc2
-rw-r--r--src/task_fn.cc2
-rw-r--r--src/task_ld.cc2
-rw-r--r--src/task_so.cc2
-rw-r--r--src/unittest.cc6
7 files changed, 9 insertions, 9 deletions
diff --git a/src/execute.cc b/src/execute.cc
index 610ccdd..20a4a02 100644
--- a/src/execute.cc
+++ b/src/execute.cc
@@ -61,7 +61,7 @@ int execute(const std::string& command,
cmd += arg;
}
- std::cout << cmd << "\n";
+ std::cout << cmd << std::endl;
}
#if 1
diff --git a/src/task_ar.cc b/src/task_ar.cc
index 1e6b278..39a8c6d 100644
--- a/src/task_ar.cc
+++ b/src/task_ar.cc
@@ -92,7 +92,7 @@ int TaskAR::runInner()
if(settings.verbose == 0)
{
- std::cout << "AR => " << targetFile().string() << "\n";
+ std::cout << "AR => " << targetFile().string() << std::endl;
}
std::string tool;
diff --git a/src/task_cc.cc b/src/task_cc.cc
index d1b89ce..29aeefb 100644
--- a/src/task_cc.cc
+++ b/src/task_cc.cc
@@ -182,7 +182,7 @@ int TaskCC::runInner()
}
std::cout <<
sourceFile.lexically_normal().string() << " => " <<
- targetFile().lexically_normal().string() << "\n";
+ targetFile().lexically_normal().string() << std::endl;
}
return execute(compiler(), args, settings.verbose > 0);
diff --git a/src/task_fn.cc b/src/task_fn.cc
index 4ff692d..b8932de 100644
--- a/src/task_fn.cc
+++ b/src/task_fn.cc
@@ -70,7 +70,7 @@ int TaskFn::runInner()
{
std::cout << "Fn" << " " <<
sourceFile.lexically_normal().string() << " => " <<
- targetFile().lexically_normal().string() << "\n";
+ targetFile().lexically_normal().string() << std::endl;
}
return config.function(sourceFile.string(),
diff --git a/src/task_ld.cc b/src/task_ld.cc
index b5b762f..5c27d3f 100644
--- a/src/task_ld.cc
+++ b/src/task_ld.cc
@@ -111,7 +111,7 @@ int TaskLD::runInner()
if(settings.verbose == 0)
{
- std::cout << "LD => " << targetFile().string() << "\n";
+ std::cout << "LD => " << targetFile().string() << std::endl;
}
auto tool = compiler();
diff --git a/src/task_so.cc b/src/task_so.cc
index 4779321..ed4bd18 100644
--- a/src/task_so.cc
+++ b/src/task_so.cc
@@ -102,7 +102,7 @@ int TaskSO::runInner()
if(settings.verbose == 0)
{
- std::cout << "LD => " << targetFile().string() << "\n";
+ std::cout << "LD => " << targetFile().string() << std::endl;
}
auto tool = compiler();
diff --git a/src/unittest.cc b/src/unittest.cc
index f18de47..942be3e 100644
--- a/src/unittest.cc
+++ b/src/unittest.cc
@@ -12,7 +12,7 @@ int runUnitTests(std::set<std::shared_ptr<Task>>& tasks,
const Settings& settings)
{
bool ok{true};
- std::cout << "Running unit-tests:\n";
+ std::cout << "Running unit-tests:" << std::endl;
// Run unit-tests
for(const auto& task : tasks)
{
@@ -28,11 +28,11 @@ int runUnitTests(std::set<std::shared_ptr<Task>>& tasks,
ok &= ret == 0;
if(ret == 0)
{
- std::cout << " OK\n";
+ std::cout << " OK" << std::endl;
}
else
{
- std::cout << " FAILED\n";
+ std::cout << " FAILED" << std::endl;
}
}
}