[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Porting to gcc 4.3
From: |
Pedro Lamarão |
Subject: |
Re: Porting to gcc 4.3 |
Date: |
Tue, 16 Dec 2008 04:47:25 -0800 (PST) |
User-agent: |
G2/1.0 |
On 16 dez, 07:51, mathieu <mathieu.malate...@gmail.com> wrote:
> Is pretty nicely written, and I was able to solve most of my issue.
> There remaining ones are related to the use of ostrstream. I have not
> found any document showing how to quickly move the code. AFAIK this is
> non-trivial to port to ostringstream (allocation is not handled the
> same way).
class ostrstream has been deprecated in the C++ standard library for
many years.
This should be considered a "porting to ISO C++" problem instead of a
"porting to GCC 4.3" problem.
>From the libstdc++-v3 manual:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt11ch26.html#manual.io.memstreams.compat
--
P.