[openbeos] Re: Question about Binaries compatibility

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sun, 22 Sep 2002 10:18:33 CEST (+0200)

"Jerome LEVEQUE" <jerl1@xxxxxxx> wrote:
> The question is : What can be different from BeOS?

Theoretically everything :-)

> Can I change the name or signature of function?


> Can I delete a function in a class or must I leave it empty?

You can delete a function only if it's declared private.

> Can I change the name of a variable in a class?

Again, only if it's declared private.

> Must I use the header file from BeOS for each class?

No, but you should be using something equal for the most part - the 
class definition has to be the same. Also, the all virtual methods and 
class data must appear in the same order as in the original header.

> I working on the Midi Kit, and I want to know if the library 
> (libmidi.so) is used only on compilation or on execution of an 
> application?

Of course, it will be used during compilation (to see if all symbols 
can be resolved), and during runtime (when it is actually linked, and 
just wants to fulfil its purpose).


Other related posts: