[Redirecting to imap-uw - if you use the old c-client name it has to be
 manually approved by the moderator before being posted...]

On Wed, 11 Apr 2007, Vadim Zeitlin wrote:
This can happen for the static library too and there is a standard way to
prevent this from happening: define the version constants in the library
header file and require the user code to pass them to the library
initialization function.

Currently, the "library initialization function" for c-client is the linkage.c stuff (env_init() is OS-dependent), which sadly some developers fail to use (and then I get their bug reports when things don't work as expected...). My preference would be to eliminate it entirely rather than introduce another way for things to go wrong.

In practice, I haven't observed the version skew problem with static library linkings, especially when you use the normal distribution and the .a file is in the same place as the .h files! There's also currently no mechanism in place for a version which is anything other than an advisory string, and as you noted that needs to happen.

Maybe in a future release...

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to