www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/17/04:03:27

Date: Wed, 17 Nov 1999 09:29:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: DrkDrgn5 AT aol DOT com
cc: djgpp AT delorie DOT com
Subject: Re: (no subject)
In-Reply-To: <0.4b135f0f.25637f63@aol.com>
Message-ID: <Pine.SUN.3.91.991117092941.16288O@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 16 Nov 1999 DrkDrgn5 AT aol DOT com wrote:

> Some files from gpp2952b extreacted into lang/cxx so I 
> copied the headers and put them into the include dirrector

This is your problem: you shouldn't have copied those files.  They are
*supposed* to be in the lang/cxx directory: the C++ compiler looks for
them there.

> I wrote a quick and simple program:
> 
> #include <iostream.h>
> 
> main{
> cout<<"Hello world";
> }
> 
> and I got hundreds of errors from streambuf.h and iostream.h.  Where
> did I go wrong?

Your program should have .cc or .cpp extension.  If that doesn't help,
see section 8.2 of the FAQ.  If that doesn't help either, add -v to
the compiler switches and post here everything it prints.  (Section
6.14 of the FAQ explains how to redirect compiler messages to a file,
but you shouldn't need that with RHIDE.)

- Raw text -


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