delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/12/23:53:20

X-Spam-Check-By: sourceware.org
Message-ID: <452F0D95.D864D7EE@dessent.net>
Date: Thu, 12 Oct 2006 20:52:53 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin-xfree AT cygwin DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: Trouble with the g++ compiler
References: <452EF30A DOT 4080400 AT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

-Patrick wrote:

> It appears the cygwin version is significantly different as I get an
> error while compiling C++ code that Ive used an overloaded function and Im
> certain I am not. My school's server that appears to run the correct
> version does not produced this error upon compilation.
>
> How do fix it?
> 
> School version:
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
> 
> Cygwin's version:
> gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)

You've posted to the xfree list which is a mailing list for using X11
applications with Cygwin.  This has nothing to do with gcc or C++, so
it's off-topic here.  A better place would be the main Cygwin list
(cygwin at cygwin dot com) or the gcc help list (gcc-help at gcc dot gnu
dot org).  I've CCd the former.

You've not provided nearly enough information for anyone to be able to
help you.  "I get an error while compiling C++" code is not specific
enough.  Copy and paste the *exact* command you use to compile as well
as the *exact* error message that results.  Show the code in question,
if possible simplifying it down to a testcase that demonstrates the
problem as minimally as possible.  Without this level of detail, or
barring the invention of mind reading technology, nobody will have
enough to go on.

I also urge you to thoroughly read
<http://www.parashift.com/c++-faq-lite/> which seems to cover 99% of the
problems people encounter when dealing with C++ errors and gotchas.

Brian

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019