binary compatibility in kabc
Scott Wheeler
wheeler at kde.org
Sat Jun 7 17:06:14 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 07 June 2003 17:55, Ian Reinhart Geiser wrote:
> I know this came up on IRC a few times, and no-one could think of really
> good tests that could be done on the fly. One option (im talking out of my
> hat here on this one because i forget if you can access a diff in a checkin
> script) would be to check for changed virtuals order, added/removed
> privates, added/removed virtuals etc... Not perfect, but would cause a
> commit message to maby alert an unsuspecting developer that they are
> breaking binary compat.
You can access them in the kde-cvs mail thingie. Maybe like "possibly unsafe"
we could have a "possibly BIC" flag. The things that would be difficult are:
*) Knowing which header are private / not-installed
*) Checking in libs in modules that are installing headers, but aren't in
kdelibs
*) Some subtleties like renaming private variables or swaping a private
pointer for a different private pointer
But even if it was a little too paranoid, it would probably let us know which
things need extra review...
You can take a look at this stuff by checking out the CVSROOT module and
looking at the Perl scripts there.
- -Scott
- --
We should forget about small efficiencies, say about 97% of the time:
premature optimization is the root of all evil.
- -Donald Knuth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+4g12Qu0ByfY5QTkRAkP6AKCLRXgP743PbfaY1k+K5eZM4mn1fwCeJbCW
Sv/yv11BnBaGCl/Nc67b/uU=
=X8Np
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list