diff options
author | Jose <jose@zeroc.com> | 2009-02-24 17:14:54 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-02-24 17:14:54 +0100 |
commit | 49987479748fb4f5dd06f72eb9358918bae97606 (patch) | |
tree | d6a4514eb6b2e03a2d576fb652ad1356e3cf8286 /cpp/src/slice2cpp/Gen.cpp | |
parent | Fixed bug 2968 - /etc/icegridregistry.conf (diff) | |
download | ice-49987479748fb4f5dd06f72eb9358918bae97606.tar.bz2 ice-49987479748fb4f5dd06f72eb9358918bae97606.tar.xz ice-49987479748fb4f5dd06f72eb9358918bae97606.zip |
Minor fixes to metadata messages.
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 1e40c9fcfa8..eec1b64ee51 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -5890,7 +5890,7 @@ Slice::Gen::MetaDataVisitor::visitOperation(const OperationPtr& p) if(!cl->isLocal()) { ostringstream ostr; - ostr << "metadata directive `UserException' applies only to local operations " + ostr << "ignoring invalid metadata `UserException' applies only to local operations " << "but enclosing " << (cl->isInterface() ? "interface" : "class") << "`" << cl->name() << "' is not local"; emitWarning(p->file(), p->line(), ostr.str()); @@ -5909,7 +5909,7 @@ Slice::Gen::MetaDataVisitor::visitOperation(const OperationPtr& p) { if(q->find("cpp:type:", 0) == 0 || q->find("cpp:array", 0) == 0 || q->find("cpp:range", 0) == 0) { - emitWarning(p->file(), p->line(), "invalid metadata `" + *q + + emitWarning(p->file(), p->line(), "ignoring invalid metadata `" + *q + "' for operation with void return type"); break; } |