Re: Compile Errors in Linux (Red Hat 5.0)
- From: Russell Nelson <nelson crynwr com>
- To: gnome-list gnome org
- Subject: Re: Compile Errors in Linux (Red Hat 5.0)
- Date: 1 Feb 1998 03:57:32 -0000
Mark Galassi writes:
> I don't know how to make sure such things will absolutely never
> happen.
How 'bout a version number in the library? The scheme I had explained
to me 17 years ago was: change the minor version when you retain
backwards compatibility; change the major version when you don't
(which is not to say that gtk abides by that scheme.) So, a program
written for version 1.0 will link with 1.0, 1.1, 1.2, etc, because all
those libraries define version_1_0. A program written for version 1.1
will have an external reference to version_1_1, and won't link with
1.0 because that symbol is missing. Since version 1.1 also defines
version_1_0, the program written for 1.0 will still link fine.
Do the same thing with data files as well.
--
-russ <nelson@crynwr.com> http://web.crynwr.com/~nelson
Crynwr Software supports freed software | PGPok | Freedom is the primary
521 Pleasant Valley Rd. | +1 315 268 1925 voice | cause of Peace, Love,
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | Truth and Justice.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]