This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

-fvtable-thunks and strstream



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]