[Bug c++/46097] Switch to warn of global variables in a C++ shared object

noloader at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Oct 22 19:49:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46097

--- Comment #28 from Jeffrey Walton <noloader at gmail dot com> 2010-10-22 19:49:26 UTC ---
(In reply to comment #26)
> I don't think dlmopen has anything to do with C++ namespaces, but I could be
> wrong
> 
> Are those libraries that crash designed to be used via dlopen, rather than
> linking to them explicitly?
Apparently they are (the authors would have marked the shared object with the 
nodlopen option :/). And in the case of nodlopen, I simply get back NULL, which
I can handle.



More information about the Gcc-bugs mailing list