[EMAIL PROTECTED] wrote:

Hi all,

I've compiled xerces 2.7 using xlC 7.0 on AIX 5.3. The Xerces libraries were created using:
runConfigure -paix -cxlc_r -xxlC_r

However, any time I link the Xerces libraries into an executable, cout no longer works.

Example:

#include <iostream>

int main(int argC, char* argV[])
{
   std::cout << "Hello world\n" << std::endl;

   return 0;
}

The above program works fine without Xerces libraries linked in. As soon as the libraries are linked, I get the following error and the program cores:

/app/sourcepro/Ed9/include/rw/_ioinsert.cc:116: Assertion '0 != __strm.rdbuf ()' failed.

( we are using Roguewave libraries in our app)

But the xlC compiler has its own version of the standard library from Dinkunware. Are you sure you can mix the two? You might need to make the necessary changes to the Xerces-C makefiles to have Xerces-C also the Rogue Wave version.

Dave

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to