www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/22/19:02:53

From: "Daniel Noorduin" <w DOT noorduin AT chello DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: C++ Problem
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <xP__8.1020820$yP6.33073030@Flipper>
Date: Mon, 22 Jul 2002 21:30:05 GMT
NNTP-Posting-Host: 212.187.58.222
X-Complaints-To: abuse AT chello DOT nl
X-Trace: Flipper 1027373405 212.187.58.222 (Mon, 22 Jul 2002 23:30:05 MET DST)
NNTP-Posting-Date: Mon, 22 Jul 2002 23:30:05 MET DST
Organization: Chello Broadband
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Can someone tell me what causes these errors when I try to compile a 'Hello
World' example C++ program. The only library i'm using in my .cc source file
is iostream:

Error: gcc.exe: Blah.o: No such file or directory (ENOENT)
(with the first line "#include<iostream.h>" highlighted)

either that one or:

C:/djgpp/lang/cxx-v31/backward/iostream.h(31) In file included from
C:/djgpp/lang/cxx-v31/backward/iostream.h:31
C:/djgpp/lang/cxx-v31/backward/backward_warning.h(32) Error: 2: warning This
file includes at least one antiquated header.... etc. To disable this
warning use -Wno-deprecated.

The program will only compile when i use the DOS command line. In RHIDE it
won't compile at all. When I use the -v command it displays the same 'error'
messages as in the RHIDE messagebox. Is this because gcc or gpp can't find
the standard libraries?




- Raw text -


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