X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <384318.87159.qm@web25506.mail.ukl.yahoo.com> Date: Thu, 16 Sep 2010 20:28:55 +0000 (GMT) From: Marco Atzeri Subject: R: Compiling with G++ and segment fault on vector declaration To: cygwin AT cygwin DOT com, John Yoon In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --- Gio 16/9/10, John Yoon ha scritto: > Hi there! > I have set the links to the files I used below: > http://dl.dropbox.com/u/1729951/cards.cpp > http://dl.dropbox.com/u/1729951/cards.h > http://dl.dropbox.com/u/1729951/hw8.cpp >=20 > I run this on cygwin: > $ g++ cards.h cards.cpp hw8.cpp > cards.h:74: internal compiler error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See for > instructions. >=20 > These files run fine on Ubuntu and LinuxMint > Any idea what the problem could be? > John also on cygwin $ g++ -c cards.cpp -o cards.o $ g++ -c hw8.cpp -o hw8.o $ g++ hw8.o cards.o -o cards or $ g++ hw8.cpp cards.cpp -o cards $ g++ --version g++ (GCC) 4.3.4 20090804 (release) 1 Regards Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple