Re: ostringstream problem with Xcode 3.2
Re: ostringstream problem with Xcode 3.2
- Subject: Re: ostringstream problem with Xcode 3.2
- From: Dmitry Markman <email@hidden>
- Date: Sat, 03 Oct 2009 19:03:17 -0400
yes, amazing
release build was fine
do I need to file bug report?
On Oct 3, 2009, at 3:32 PM, Todd Heberlein wrote:
[Note: I hate that the Apple mailing lists block my submissions when
coming from me.com (as opposed to mac.com). Apple's lists should
know mac.com and me.com are equivalent.]
Hmmm... I thought this bug was solved.
In Xcode try switching to "Release" instead of "Debug" and see if
the problem goes away. I think I was once told it goes away with the
STL libraries linked in Release mode.
Todd
On Oct 3, 2009, at 11:46 AM, Dmitry Markman wrote:
Hi
I created new project (from c++ stdc++ template)
and I got weird problem.
the following code
std::ostringstream os
int d = 65;
os << "d = " << d;
std::cout << os.str() << std::endl;
returns just "d = ", I expect to have "d = 65"
so what am I doing wrong?
if I compile that code from terminal
g++ ostringstream.cpp
./a.out
sends to terminal right string
which g++
/usr/bin/g++
ls -la /usr/bin/g++
lrwxr-xr-x 1 root wheel 7 Aug 28 23:41 /usr/bin/g++ -> g++-4.2
g++ --version
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
thanks
Dmitry Markman
_______________________________________________
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
_______________________________________________
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
Dmitry Markman
_______________________________________________
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