summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Parser.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2009-01-28 06:55:36 +1000
committerMichi Henning <michi@zeroc.com>2009-01-28 06:55:36 +1000
commit09b4a1830989b33d06e7a421dbf197d2aa335b91 (patch)
tree61a84913028a1d08a3dfa83f5b519ccda3fd1e9b /cpp/src/Slice/Parser.cpp
parenthttp://bugzilla/bugzilla/show_bug.cgi?id=3483 - Move Freeze to separate Jar file (diff)
parentSquashed commit of the following: (diff)
downloadice-09b4a1830989b33d06e7a421dbf197d2aa335b91.tar.bz2
ice-09b4a1830989b33d06e7a421dbf197d2aa335b91.tar.xz
ice-09b4a1830989b33d06e7a421dbf197d2aa335b91.zip
Merge branch 'R3_3_branch'
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r--cpp/src/Slice/Parser.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp
index 866a580373a..5d682503ec3 100644
--- a/cpp/src/Slice/Parser.cpp
+++ b/cpp/src/Slice/Parser.cpp
@@ -4714,7 +4714,7 @@ Slice::Operation::attributes() const
}
if(i == 2)
{
- cout << definitionContext()->filename() << ":" << line()
+ cerr << definitionContext()->filename() << ":" << line()
<< ": warning: invalid freeze metadata for operation" << endl;
}
else
@@ -4736,7 +4736,7 @@ Slice::Operation::attributes() const
{
if(result != 0 && (i == int(Supports) || i == int(Never)))
{
- cout << definitionContext()->filename() << ":" << line()
+ cerr << definitionContext()->filename() << ":" << line()
<< ": warning: invalid freeze metadata for operation" << endl;
}
else
@@ -4751,7 +4751,7 @@ Slice::Operation::attributes() const
if(i == 4)
{
- cout << definitionContext()->filename() << ":" << line()
+ cerr << definitionContext()->filename() << ":" << line()
<< ": warning: invalid freeze metadata for operation" << endl;
//
@@ -5170,9 +5170,9 @@ Slice::Unit::error(const char* s)
string file = currentFile();
if(!file.empty())
{
- cout << file << ':' << _currentLine << ": ";
+ cerr << file << ':' << _currentLine << ": ";
}
- cout << s << endl;
+ cerr << s << endl;
_errors++;
}
@@ -5188,9 +5188,9 @@ Slice::Unit::warning(const char* s) const
string file = currentFile();
if(!file.empty())
{
- cout << file << ':' << _currentLine << ": ";
+ cerr << file << ':' << _currentLine << ": ";
}
- cout << "warning: " << s << endl;
+ cerr << "warning: " << s << endl;
}
void