Re: string::stringstream broken with gg 4.2
Re: string::stringstream broken with gg 4.2
- Subject: Re: string::stringstream broken with gg 4.2
- From: Guillermo Ruiz <email@hidden>
- Date: Thu, 29 Oct 2009 17:06:15 +0100
I have the same problem!
#include <iostream> #include <sstream>
int main() { std::ostringstream stream; int i = 5; stream << i; std::string str = stream.str(); std::cout << str; // empty string }
This code doesn't work with gcc 4.2 on debug mode. It works with gcc 4.0 or 4.2 on release mode. |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden