This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
-fvtable-thunks and strstream
- To: <cygwin at sources dot redhat dot com>
- Subject: -fvtable-thunks and strstream
- From: Ernst Richter <Ernst dot Richter at daimlerchrysler dot com>
- Date: Fri, 20 Oct 2000 11:28:14 +0200
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