You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Cantor, Scott" <ca...@osu.edu> on 2016/06/04 16:32:32 UTC

Error messages / ABI

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-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


RE: Error messages / ABI

Posted by "Cantor, Scott" <ca...@osu.edu>.
> 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-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


Re: Error messages / ABI

Posted by Alberto Massari <al...@tiscali.it>.
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

Il 04/06/16 18:32, Cantor, Scott ha scritto:
> 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-unsubscribe@xerces.apache.org
> For additional commands, e-mail: c-dev-help@xerces.apache.org
>
>


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