This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: g++-2 and fstream problem
- From: chris <caj at cs dot york dot ac dot uk>
- To: EMOTO Masahiko <emo at nifs dot ac dot jp>
- Cc: cygwin at cygwin dot com
- Date: Wed, 24 Sep 2003 13:32:53 +0100
- Subject: Re: g++-2 and fstream problem
- References: <874qz2mm59.wl%emo@nifs.ac.jp>
EMOTO Masahiko wrote:
>Hi,
>
>I have a problem with compling the C++ codes.
>The source code was compiled successfuly, but
>the program causes Segmentation fault.
>
>Please show me how to solve the problem.
>
>By the way, this program can run normally if
>it is compiled by g++ (3.2).
>
> -- EMOTO
>
<program snipped>
First of all, I assume you realise that cygwin includes g++3.2? You seem
to have the package "gcc-2" installed, but not "gcc", which installs a
more recent version. As to why the program causes a segmentation fault,
I can back you up that it is, but don't know enough about g++ internals
to know why I'm afraid.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/