Problem with cerr

Phil Edwards phil@jaj.com
Sat Dec 14 02:01:00 GMT 2002


On Sat, Dec 14, 2002 at 08:54:06AM +0100, jblazi wrote:
> I should like to extend Python with a third party C++ library and my own C++ 
> code. In the third party library they use cerr to display error messages, but 
> when I create the shared library I need for Python, the symbol cerr is simply 
> not defined.
> I tried to declare all kinds of
> " _IO_ostream_withassign cerr"-s, but without no success.

Looks like you're using libstdc++-v2, or maybe a mix of v2 and v3.

v2 is unsupported and very old.  This list is for v3.  You should probably
not use v2 if you have a choice.

If you see "stream_withassign" stuff showing up, it's v2.


Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002



More information about the Libstdc++ mailing list