This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46097] Switch to warn of global variables in a C++ shared object
- From: "noloader at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Oct 2010 19:49:37 +0000
- Subject: [Bug c++/46097] Switch to warn of global variables in a C++ shared object
- Auto-submitted: auto-generated
- References: <bug-46097-4@http.gcc.gnu.org/bugzilla/>
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.