delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/22/10:19:27

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
From: "Dockeen" <dockeen AT mchsi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: What's wrong? gcc brain-damaged on cygwin?
Date: Sun, 22 Dec 2002 09:18:23 -0600
Message-ID: <NCBBLKKJGBJOLDFMCKFPAECFCBAA.dockeen@mchsi.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Looking at your post I see that you compiled your code as follows:

"gcc testnewchar.cpp:

You should use g++ to compile c++ code.

I was able to replicate your errors and eliminate them by using g++,
which, accoriding to a post I saw yesterday on the gcc-help board,
has been the preferred way to compile c++ code for a long time.

Wayne Keen

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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