Discussion:
Error messages / ABI
Cantor, Scott
2016-06-04 16:32:32 UTC
Permalink
Question to the rest of the remaining developers: is it an ABI change to add error messages/codes? I'm not familiar enough with the error handling machinery to know what's entailed in adding one, though I know there's an enum, and an XML file that's used to produce all the source code with the error messages.

I'm inclined to assume that it is an ABI change, which is a pain, but thought I'd check.

-- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Alberto Massari
2016-06-04 19:27:35 UTC
Permalink
Unless the decorated name of the enum includes the number of values, it
should not change, and the ABI stays the same.
It may require that the developer handle the new error code, but I doubt
that it happens very often. So, I think a 3.1.4 release is ok.

Alberto
Post by Cantor, Scott
Question to the rest of the remaining developers: is it an ABI change to add error messages/codes? I'm not familiar enough with the error handling machinery to know what's entailed in adding one, though I know there's an enum, and an XML file that's used to produce all the source code with the error messages.
I'm inclined to assume that it is an ABI change, which is a pain, but thought I'd check.
-- Scott
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Cantor, Scott
2016-06-06 13:51:31 UTC
Permalink
Post by Alberto Massari
Unless the decorated name of the enum includes the number of values, it
should not change, and the ABI stays the same.
It may require that the developer handle the new error code, but I doubt
that it happens very often. So, I think a 3.1.4 release is ok.
I was more concerned about all the other generated artifacts, like the error messages. I wasn't sure if any of that generated new symbols that get exported. Don't have a wealth of time available to really test that out. I don't think it would be a breaking change in the C++ sense, more that it would be a new revision of the ABI and the library doesn't support interface revisions via soname.

-- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org

Loading...