From: "Klytu" Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems compiling with Rhide Date: Mon, 27 Nov 2000 10:39:49 -0500 Lines: 46 Message-ID: <8vtv88$1o5$1@bob.news.rcn.net> References: <8v73ki$3jr$1 AT newsg3 DOT svr DOT pol DOT co DOT uk> X-Trace: NKjit+dCI/5K6pNarY2MyxZEtqMb+ehlYS37twCQ4xNQIb7sqb8zKw== X-Complaints-To: abuse AT rcn DOT com NNTP-Posting-Date: 27 Nov 2000 15:39:52 GMT X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Jean Sturtivant" wrote in message news:8v73ki$3jr$1 AT newsg3 DOT svr DOT pol DOT co DOT uk... > Another new boy having problems... > > When I try to compile and run my first project I get a huge list of errors > relating to my only include - > C:/djgpp/lang/cxx/streambuf.h(67) Error: parse error before `streambuf' > C:/djgpp/lang/cxx/streambuf.h(126) Error: parse error before `ios' > etc etc.... > > What's gone wrong? > I've just come straight from Qbasic (!) so you can appreciate my culture > shock. > > > I am posting the response you emailed me. Please send response to the newsgroup. >Here's the code, but I'm sure it must be a compiler error.. >/* Program1 - Rhide compilation test >This won't compile in rhide. >*/ >#include >int main() >{ > cout << "Honestly, a source that's less than 1k long that won't > work."; > return 0; >} >All the errors that occur are pointed at the include code and >it's nested includes. I at a bit of a loss really. So am I. There is nothing wrong with you code and it should compile. Maybe someone else here could help you.