Author: Wim Lavrijsen <[email protected]>
Branch: reflex-support
Changeset: r71318:2c4631ee1b8e
Date: 2014-05-05 18:17 -0700
http://bitbucket.org/pypy/pypy/changeset/2c4631ee1b8e/
Log: use cerr instead of cout for error message
diff --git a/pypy/module/cppyy/src/dummy_backend.cxx
b/pypy/module/cppyy/src/dummy_backend.cxx
--- a/pypy/module/cppyy/src/dummy_backend.cxx
+++ b/pypy/module/cppyy/src/dummy_backend.cxx
@@ -506,7 +506,7 @@
} else {
for (std::map<std::string, long>::iterator it = s_methods.begin();
it != s_methods.end(); ++it) {
- if (it->second == idx) std::cout << "MISSING: " << it->first <<
std::endl;
+ if (it->second == idx) std::cerr << "MISSING: " << it->first <<
std::endl;
}
assert(!"method unknown in cppyy_call_v");
}
@@ -730,7 +730,7 @@
} else {
for (std::map<std::string, long>::iterator it = s_methods.begin();
it != s_methods.end(); ++it) {
- if (it->second == idx) std::cout << "MISSING: " << it->first <<
std::endl;
+ if (it->second == idx) std::cerr << "MISSING: " << it->first <<
std::endl;
}
assert(!"method unknown in cppyy_call_l");
}
@@ -845,7 +845,7 @@
} else {
for (std::map<std::string, long>::iterator it = s_methods.begin();
it != s_methods.end(); ++it) {
- if (it->second == idx) std::cout << "MISSING: " << it->first <<
std::endl;
+ if (it->second == idx) std::cerr << "MISSING: " << it->first <<
std::endl;
}
assert(!"method unknown in cppyy_call_r");
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit