www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/04/19:05:41

From: "Paganini <Nathan E. Banks>" <paganini AT madisontelco DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Bad Command or Filename??
Date: Thu, 4 Mar 1999 18:01:36 -0600
Organization: Info Avenue Internet Services
Lines: 28
Message-ID: <7bn6sl$ebr$1@news3.infoave.net>
NNTP-Posting-Host: ham102.madisontelco.com
X-Trace: news3.infoave.net 920592085 14715 206.28.233.102 (5 Mar 1999 00:01:25 GMT)
X-Complaints-To: usenet AT news3 DOT infoave DOT net
NNTP-Posting-Date: 5 Mar 1999 00:01:25 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.0810.800
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have DJGPP / RHIDE installed on my system, and it works great! It's the
best DOS compiler I've ever seen...I may choose it over MS VC++...but I'm
wondering about something... every time I compile a program, it compiles and
links, but at the end it returns Bad Command Or Filename. What is it trying
to call? The code is fine...the executeable works... nothing seems to be
wrong, but RHIDE is trying to do somethign and failing. Here's the output
from a test compile:

Compiling: hello.cpp
In function 'int main(...)';
hello.cpp(6) Warning: 'return' with no value, in function returning non-void
Bad command or filename
no errors
Creating: hello.exe
no errors

Thanks for your help...

BTW...how come DJGPP doesn't support void main functions? It seems to be
converting them to ints....

--
Paganini <Nathan E. Banks>
MOOk, the Great High Llama
ICQ 25308827
http:\\web.madisontelco.com\~paganini


- Raw text -


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