[haiku-commits] Re: r39462 - in haiku/trunk: headers/os/app headers/private/app src/kits/app

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 17 Nov 2010 16:22:11 -0500

On Wed, Nov 17, 2010 at 4:13 PM, Clemens Zeidler
<clemens.zeidler@xxxxxxxxxxxxxx> wrote:
> Yes, I tried this but then binaries on gcc2 and gcc4 complaint to not find
> __ReservedApplicationX symboles. I found out its because the new virtual
> functions are protected. (thought the public, private, protected keywords
> are only on source site!?) Does it makes sense? at least I was able to start
> old R5 and gcc4 binaries without removing the reserved functions and it
> fails when I did so.

When removing the reserved slot you have to manually add functions
under the old mangled name that call into the new virtual since the
old binaries will still be linked against the older symbol, c.f.
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/interface/View.cpp#L5681
for an example.

Regards,

Rene

Other related posts: