summaryrefslogtreecommitdiff
path: root/unoidl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-10-10 10:12:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-10-10 10:13:37 +0200
commit62828c9e11e27a2a9b69a9ad0919279df9a10359 (patch)
tree23651ecb2aa5d135d70d2cc18a43b5b2a6ebbc30 /unoidl/source
parent8a97f996b2a1526e69e32f39fd599aee25140efe (diff)
Make changes of interface method parameter names a hard failure
...instead of a warning, now that all the deliberate changes have been addressed. Change-Id: I6075a36a560bd68826c6840992eefb8f51b939ba
Diffstat (limited to 'unoidl/source')
-rw-r--r--unoidl/source/unoidl-check.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/unoidl/source/unoidl-check.cxx b/unoidl/source/unoidl-check.cxx
index ff84f52c655c..f1264d23bbb1 100644
--- a/unoidl/source/unoidl-check.cxx
+++ b/unoidl/source/unoidl-check.cxx
@@ -537,12 +537,13 @@ void checkMap(
}
if (k->name != l->name) {
std::cerr
- << "Warning: interface type " << name
+ << "interface type " << name
<< " direct method " << i->name
<< " parameter #"
<< k - i->parameters.begin() + 1
<< " changed name from " << k->name
<< " to " << l->name << std::endl;
+ std::exit(EXIT_FAILURE);
}
}
}