| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | Ernst Richter <Ernst DOT Richter AT daimlerchrysler DOT com> |
| To: | <cygwin AT sources DOT redhat DOT com> |
| Subject: | -fvtable-thunks and strstream |
| Message-ID: | <0015200017476132000002L022*@MHS> |
| Date: | Fri, 20 Oct 2000 11:28:14 +0200 |
| MIME-Version: | 1.0 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id FAA01805 |
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 AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |