delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/12/09:43:22

Date: Thu, 12 Feb 1998 16:42:31 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Gerfried Wanker <gerfried DOT wanker AT unileoben DOT ac DOT at>
cc: djgpp AT delorie DOT com
Subject: Re: iostream linking problem
In-Reply-To: <6buh39$p8j@fstgal00.tu-graz.ac.at>
Message-ID: <Pine.SUN.3.91.980212163948.20627A-100000@is>
MIME-Version: 1.0

On 12 Feb 1998, Gerfried Wanker wrote:

> prog.c:2: iostream.h: no such file or directory (ENOENT)

Sources for C++ programs should have a .cc extension, otherwise GCC 
compiles them as C programs and doesn't look into the C++ include 
directory where iostream.h lives.

For more details, download the DJGPP FAQ list (v2/faq210b.zip from the 
same place you get DJGPP) and read section 8.2 there.

- Raw text -


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