X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Per" Newsgroups: comp.os.msdos.djgpp Subject: problems after installation with #include Date: Wed, 6 Oct 2004 15:09:10 +0200 Lines: 40 Message-ID: NNTP-Posting-Host: du-63-231.ppp.telenordia.se X-Trace: yggdrasil.glocalnet.net 1097067403 7393 62.127.63.231 (6 Oct 2004 12:56:43 GMT) X-Complaints-To: abuse AT glocalnet DOT net NNTP-Posting-Date: 6 Oct 2004 12:56:43 GMT X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello! I've jus installed djgpp under windows 98. I'll get the following error trying to compile c++. It works fine with c. Does anyone knows what the provlem is? //Per /* This is a program*/ #include int main(void) { cout << "HelloWorld!\n"; return 0; } C:\cbl\lab>gpp -o hello.exe hello.cc In file included from c:/djgpp/bin/../lib/gcc/djgpp/3.42/../../../../include/cxx /3.42/backward/iostream.h:31, from hello.cc:2: c:/djgpp/bin/../lib/gcc/djgpp/3.42/../../../../include/cxx/3.42/backward/bac kwar d_warning.h:32:2: warning: #warning This file includes at least one deprecated o r antiquated header. Please consider using one of the 32 headers found in sectio n 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated head er . To disable this warning use -Wno-deprecated.