[Pkg-electronics-commits] [gnucap] 03/47: use "\n", not endl in io_trace.
felix salfelder
felix-guest at moszumanska.debian.org
Mon Sep 26 10:33:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch master
in repository gnucap.
commit a90ff60cb3c4dfd85658b9c6214a4fd166acb6fe
Author: Felix Salfelder <felix at salfelder.org>
Date: Sat Aug 27 04:37:01 2016 +0100
use "\n", not endl in io_trace.
---
include/io_trace.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/io_trace.h b/include/io_trace.h
index be05d29..a39adfb 100644
--- a/include/io_trace.h
+++ b/include/io_trace.h
@@ -49,29 +49,29 @@
#define trace0(s) ( std::cerr << "@#@" << (s) << "\n")
#define trace1(s,x) ( \
std::cerr << "@#@" << (s) << " " << #x << "=" << (x) \
- << std::endl )
+ << "\n" )
#define trace2(s,x,y) ( \
std::cerr << "@#@" << (s) << " " << #x << "=" << (x) \
<< " " << #y << "=" << (y) \
- << std::endl )
+ << "\n" )
#define trace3(s,x,y,z) ( \
std::cerr << "@#@" << (s) << " " << #x << "=" << (x) \
<< " " << #y << "=" << (y) \
<< " " << #z << "=" << (z) \
- << std::endl )
+ << "\n" )
#define trace4(s,w,x,y,z) ( \
std::cerr << "@#@" << (s) << " " << #w << "=" << (w) \
<< " " << #x << "=" << (x) \
<< " " << #y << "=" << (y) \
<< " " << #z << "=" << (z) \
- << std::endl )
+ << "\n" )
#define trace5(s,v,w,x,y,z) ( \
std::cerr << "@#@" << (s) << " " << #v << "=" << (v) \
<< " " << #w << "=" << (w) \
<< " " << #x << "=" << (x) \
<< " " << #y << "=" << (y) \
<< " " << #z << "=" << (z) \
- << std::endl )
+ << "\n" )
#define trace6(s,u,v,w,x,y,z) ( \
std::cerr << "@#@" << (s) \
<< " " << #u << "=" << (u) \
@@ -80,7 +80,7 @@
<< " " << #x << "=" << (x) \
<< " " << #y << "=" << (y) \
<< " " << #z << "=" << (z) \
- << std::endl )
+ << "\n" )
#define trace7(s,t,u,v,w,x,y,z) ( \
std::cerr << "@#@" << (s) \
<< " " << #t << "=" << (t) \
@@ -90,7 +90,7 @@
<< " " << #x << "=" << (x) \
<< " " << #y << "=" << (y) \
<< " " << #z << "=" << (z) \
- << std::endl )
+ << "\n" )
#define trace8(s,r,t,u,v,w,x,y,z) ( \
std::cerr << "@#@" << (s) \
<< " " << #r << "=" << (r) \
@@ -101,7 +101,7 @@
<< " " << #x << "=" << (x) \
<< " " << #y << "=" << (y) \
<< " " << #z << "=" << (z) \
- << std::endl )
+ << "\n" )
#else
#define USE(x) (1)?(void)(0):(void)(x)
#define trace_line()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-electronics/gnucap.git
More information about the Pkg-electronics-commits
mailing list