-fvtable-thunks and strstream

Ernst Richter Ernst.Richter@daimlerchrysler.com
Fri Oct 20 02:42:00 GMT 2000


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 cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list