Re: [glade--]Custom STL issues

Christof Petig <[email protected]>
Newsgroups gmane.comp.gnome.glademm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
Karl Wyant wrote:
> Working on a program across several people.  One of them grabbed a 
> custom stl and his part of the code depends heavily on that for thread 
> safe issues.  Glade-- was beautiful in its support for compiling links 
> to custom stl's and this worked flawlessly.  The problem, when using 
> gtkmm elements, we get errors.  It did not appear at initial look that 
> gtkmm and gnomemm had to be updated with the custom stl as well, but if 
> anybody can give me a pointer or 2 here, I'd greatly appreciate it.

I'd say for sure that different STL implementations are not binary 
compatible. That means you cannot link a library compiled with one STL 
to something compiled with another. IIRC you also have to omit 
libstdc++, but I'm not sure about that. Try a sigc + gtkmm library 
compiled with the other STL.

Yes, this sucks. But luckily it's quite unusual to mix different C++ 
compiler / libraries.

Yours
    Christof
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.