Is there a way to get strstreams to work with the compiler option
-fvtable-thunks (needed for ole-applications)?

The following test leads to the output  'help' if compiled with
gcc -fvtable-thunks  -lstdc++   :

#include <string>
#include <iostream>
#include <strstream>
// Standardbibliotheken

// eigene Header

void main()
{
  std::string tempstr="help";
  int ii=3;
  std::strstream stst;
  stst<<ii;
  stst>>tempstr;
  std::cout<<tempstr<<std::endl;
}

Thanks for help
Ernst
--
Want to unsubscribe from this list?
Send a message to [EMAIL PROTECTED]

Reply via email to