From kde-core-devel Wed May 27 18:52:33 2009 From: "Maksim Orlovich" Date: Wed, 27 May 2009 18:52:33 +0000 To: kde-core-devel Subject: Re: RFC: remove qt-copy Message-Id: <63811.24.58.23.57.1243450353.squirrel () webmail ! cornell ! edu> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=124345042016121 > Philippe Fremy wrote: >>Hi, >> >>Thiago Macieira wrote: >>> (BTW, one of the Qt3 patches was binary-incompatible and was shipped >>> by all distros -- probably still is) >> >>Tell me if I am saying something stupid, but after dealing with the >>problem of BIC for years, isn't there an automated tool that can check >>binary compatibility between two releases and shout big times if it's >>not the case ? On a daily basis ? > > No. > > That tool could be written with Roberto's C++ parser. We have one test in > the Qt tree (tests/auto/bic) that works by asking g++ to dump the class > tree, then doing some checks. But that obviously only catches Unix/X11 > code, not other platforms. There was actually make bcheck in KDE3.x build system that could catch object layout (including vtable and size) changes, but it wouldn't catch things to do with inlines and such.