libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with LT 2.1a


From: Bob Friesenhahn
Subject: Re: Problem with LT 2.1a
Date: Wed, 6 Sep 2006 10:37:20 -0500 (CDT)

On Thu, 7 Sep 2006, Peter O'Gorman wrote:

On Sep 7, 2006, at 12:10 AM, Ralf Wildenhues wrote:

We could add another interface
  lt_dlopen_flags (const char *filename, int flags);


I'd prefer to be more specific - lt_dlopen_global(const char * filename)

The docs would specify that it would attempt to open it in the global namespace, but may, in fact, open it locally if there is no API to open globally.

This is a good idea but I think that it should refuse to load the library/module and return an error instead since if the application requires use of this API, it is likely broken. It is better to know about breakage sooner than later.

A more radical approach would be to not expose the lt_dlopen_global interface at all if it can't be supported (using #error to report an error message). That would cause a compile time failure so that the person building the software can investigate possible alternative build methods.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]