Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [11-2002 Date Index] [Date Next] || [Thread Prev] [11-2002 Thread Index] [Thread Next]

[openbeosnetteam] Re: NetDebug.h break BC

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Wed, 13 Nov 2002 18:25:39 +0100 CET
Scott Mansfield <ThePhantom@xxxxxxx> wrote:
> Yes, you are correct, I was following the opentracker coding standard 
> as 
> suggested by the project pages.

Which is a very nice thing for itself :-))

> My understanding is that private methods and data can be changed at 
> will 
> without breaking binary compatibility.  Honestly, though, I don't 
> remember 
> whether private virtual methods will show up in the vtable or not.  
> I'll do a 
> little digging when I get home tonight.

You can add private functions at will, as long as they aren't virtual, 
yes, but I am not sure about the vtable changes (replacing virtual 
functions with data and vice versa).
AFAIK it won't work, because the compiler will place them at different 
locations in the class.
But feel free to test to make sure.

> What I did was to add these variables and at the same time, decrease 
> the 
> number of elements in the private member array (the name escapes me 
> at the 
> moment).  The binary size of the class would remain the same.

Also important is the offset to the function members. If those remain 
the same, there shouldn't be many problems.

Adios...
   Axel.







[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.