Commit 4ca6afb6 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Added compiler note when mapping is not in translation mode (bug 532021)



Change-Id: Ib0ddc2acc03785440883197aec1a92aa723859a0
Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent b54c49ed
......@@ -4922,6 +4922,14 @@ error:
config_op.portref2->warning("Port type `%s' was marked as `internal'",
pt2->get_typename().c_str());
}
if ((ptb1 != NULL && !ptb1->is_legacy() &&
ptb1->get_type() == PortTypeBody::PT_USER) ||
(ptb2 != NULL && !ptb2->is_legacy() &&
ptb2->get_type() == PortTypeBody::PT_USER)) {
note("This mapping is not done in translation mode, because the %s "
"endpoint is unknown",
ptb1 != NULL ? "second" : "first");
}
return;
}
if (cref1_is_tc || cref2_is_system) {
......@@ -4970,6 +4978,10 @@ error:
config_op.portref2->warning("Port type `%s' was marked as `internal'",
pt2->get_typename().c_str());
}
if ((!ptb1->is_legacy() && ptb1->get_type() == PortTypeBody::PT_USER) ||
(!ptb2->is_legacy() && ptb2->get_type() == PortTypeBody::PT_USER)) {
note("This mapping is not done in translation mode");
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment