summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/PythonUtil.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2009-01-14 09:59:23 -0330
committerMatthew Newhook <matthew@zeroc.com>2009-01-14 09:59:23 -0330
commitf8a2a5c47bcc31192d618de6833e9663c9feb5ac (patch)
tree53e877985e264c38f958d0165a8f6970cbcc11e7 /cpp/src/Slice/PythonUtil.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=3640 - If slice2java error... (diff)
downloadice-f8a2a5c47bcc31192d618de6833e9663c9feb5ac.tar.bz2
ice-f8a2a5c47bcc31192d618de6833e9663c9feb5ac.tar.xz
ice-f8a2a5c47bcc31192d618de6833e9663c9feb5ac.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=3517 ; translator stdout/stderr.
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r--cpp/src/Slice/PythonUtil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp
index 648b7af94df..cb9e024717a 100644
--- a/cpp/src/Slice/PythonUtil.cpp
+++ b/cpp/src/Slice/PythonUtil.cpp
@@ -2035,7 +2035,7 @@ Slice::Python::MetaDataVisitor::validateGlobal(const DefinitionContextPtr& dc)
static const string packagePrefix = "python:package:";
if(s.find(packagePrefix) != 0 || s.size() == packagePrefix.size())
{
- cout << dc->filename() << ": warning: ignoring invalid global metadata `" << s << "'" << endl;
+ cerr << dc->filename() << ": warning: ignoring invalid global metadata `" << s << "'" << endl;
}
}
_history.insert(s);
@@ -2067,7 +2067,7 @@ Slice::Python::MetaDataVisitor::validateSequence(const DefinitionContextPtr& dc,
}
}
}
- cout << dc->filename() << ":" << line << ": warning: ignoring metadata `" << s << "'" << endl;
+ cerr << dc->filename() << ":" << line << ": warning: ignoring metadata `" << s << "'" << endl;
}
}
}
@@ -2085,7 +2085,7 @@ Slice::Python::MetaDataVisitor::reject(const ContainedPtr& cont)
{
DefinitionContextPtr dc = cont->definitionContext();
assert(dc);
- cout << dc->filename() << ":" << cont->line() << ": warning: ignoring metadata `" << *p << "'" << endl;
+ cerr << dc->filename() << ":" << cont->line() << ": warning: ignoring metadata `" << *p << "'" << endl;
}
}
}