www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/08/06:33:31

Date: Tue, 8 Aug 2000 13:32:24 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Don HO <donho AT altern DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: My GCC does not compile the C++ source
In-Reply-To: <398fd8ba.550102@news.free.fr>
Message-ID: <Pine.SUN.3.91.1000808133142.6418C@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 8 Aug 2000, Don HO wrote:

> Thanx for your help.
> I do add "using namespace std;", but it gives me :
> 
> ccaa.cc:2: warning: namespaces are mostly broken in this version of
> g++
> d:/langages/c__~1/djgpp/tmp\ccdaaaaa(.text+0x2f):ccaa.cc: undefined
> reference to `cin'

Looks like you still use "gcc" instead of "gpp" to compile and link the 
program.

- Raw text -


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