This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Code Migration from AIX(XL C) to Red Hat 7.3 (GCC 4.0.1)
- From: Bhaskar Saini <saini484 at yahoo dot co dot in>
- To: John Love-Jensen <eljay at adobe dot com>, MSX to GCC <gcc-help at gcc dot gnu dot org>
- Date: Tue, 25 Oct 2005 16:27:26 +0100 (BST)
- Subject: Re: Code Migration from AIX(XL C) to Red Hat 7.3 (GCC 4.0.1)
Is there some documentation/ url from where i can get
all the differences in the two systems and modify my
code accordingly.
The files were originally on AIX version 4.3
(VisualAge C++ Professional / C for AIX Compiler,
Version 6) and now have to be moved to Red Hat 7.3
(GCC 4.x).
--- John Love-Jensen <eljay@adobe.com> wrote:
> Hi Bhaskar,
>
> > One of the errors I encountered was :
> > <filename>.cc:64:23: error: strstream.h: No such
> file
> > or directory
>
> strstream.h is not part of C++. (Some early
> pre-standard C++
> implementations included strstream.h, but it was cut
> from by the committee
> in favor of stringstreams.)
>
> Use <sstream> instead.
>
> Keep in mind that you won't need the ends
> manipulator, and you won't have to
> manage the memory of the stream's backingstore like
> you had to do with
> <strstream.h>.
>
> HTH,
> --Eljay
>
>
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com