delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <3F718EF5.1000600@cs.york.ac.uk> |
Date: | Wed, 24 Sep 2003 13:32:53 +0100 |
From: | chris <caj AT cs DOT york DOT ac DOT uk> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 |
X-Accept-Language: | en-us, en |
MIME-Version: | 1.0 |
To: | EMOTO Masahiko <emo AT nifs DOT ac DOT jp> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: g++-2 and fstream problem |
References: | <874qz2mm59.wl%emo AT nifs DOT ac DOT jp> |
In-Reply-To: | <874qz2mm59.wl%emo@nifs.ac.jp> |
X-Scanner: | exiscan *1A28pA-0007W4-AF*TbIyScW.jIs* |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |