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
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool