Request to change signature of a KUrl method
Sune Vuorela
nospam at vuorela.dk
Mon Sep 14 19:47:17 BST 2009
On 2009-09-14, Andreas Pakulat <apaku at gmx.de> wrote:
>> http://techbase.kde.org/Policies/Binary_Compatibility_Issues_With_C++
>
> That page doesn't say _anything_ about changing the return type of
> functions. And from a pure name-mangling-perspective it won't make a
> difference on GCC as it doesn't include the return type in the mangled
> name. (as far as I understood Thiago's blog some time ago).
It does not change the mangled symbol name, but it might very well
trigger weird crashes to change the return type.
old prototype:
QWidget* foo();
Code:
QWidget *w = foo();
w->show();
New function:
void foo();
How should old code be running ?
/Sune
More information about the kde-core-devel
mailing list