Message-ID: <343FAEA0.6868@sympatico.ca> Date: Sat, 11 Oct 1997 09:51:44 -0700 From: Frank Faubert MIME-Version: 1.0 To: lonsn95 AT octarine DOT cc DOT adfa DOT oz DOT au CC: djgpp AT delorie DOT com Subject: Re: Problems with RHIDE References: <343f2302 DOT 18893376 AT news DOT adfa DOT oz DOT au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Steve wrote: > > I've just set up DJGPP and RHIDE, and I had it going fine for a while, > but there was an intermittent error which has now come back and it's > driving me nuts. > > I'm running RHIDE under Win3.1, using a default project (rhide.gpr), > which I don't open at startup but which contains all my preferences > for colours etc. > > The problem is that when I try and compile code, I get the following > error message: > > "There were some errors" > > Which as you can imagine doesn't tell me very much. I've tried passing > different arguments to the compiler, including -Wall and -v, but no > luck. What am I doing wrong? > > BTW - I have checked the FAQ, I might be just missing something > obvious but I haven't found an answer there. I am a complete novice, > but I can't see why this code won't compile: > > void main() > { > } > > Any help would be greatly appreciated! > > ------------------------------------------------------- > Steve Long > to reply please remove the NOSPAM from my email address Hi Steve, Believe me, I'm no expert on C but shouldn't there be a "return" or "exit 0" at the end. Also, in the messes that I've tried to turn into programs, before the "There were some errors" line, there has always been a list of line numbers with things like "parse error before return 0" or anyone of a few dozen other error messages that frequent my screen. Perhaps if you said what was before the last message, someone who actually knows what they're doing could help you (that wouldn't be me, but hey, everybody was a newbie at some point). Frank