Mail Archives: djgpp/1999/03/04/22:21:47
From: | "Robin Y. Millette" <millette AT bigfoot DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Bad Command or Filename??
|
Date: | Fri, 05 Mar 1999 02:39:51 GMT
|
Organization: | Waglo Institution
|
Lines: | 46
|
Message-ID: | <7bng5m$kl4$1@nnrp1.dejanews.com>
|
References: | <7bn6sl$ebr$1 AT news3 DOT infoave DOT net>
|
NNTP-Posting-Host: | 204.209.212.78
|
X-Article-Creation-Date: | Fri Mar 05 02:39:51 1999 GMT
|
X-Http-User-Agent: | Mozilla/4.0 (compatible; Opera/3.0; Windows 95) 3.51 [en]
|
X-Http-Proxy: | 1.0 x1.dejanews.com:80 (Squid/1.1.22) for client 204.209.212.78
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In article <7bn6sl$ebr$1 AT news3 DOT infoave DOT net>,
"Paganini <Nathan E. Banks>" <paganini AT madisontelco DOT com> wrote:
> 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.
[snip]
> hello.cpp(6) Warning: 'return' with no value, in function returning
non-void
> Bad command or filename
> no errors
> Creating: hello.exe
> no errors
>
> BTW...how come DJGPP doesn't support void main functions? It seems
to be
> converting them to ints....
Are you calling rhide from a batch file? Perhaps it's calling
redir.exe (12-13-98 13:17 79,872)... maybe you enabled rcs and don't
have the software... I'm not too sure.
About main return int, well, that's just a fact as specified by the
C/C++ standards.
Fastest Computer on Earth needs you!
http://www.distributed.net - team 844
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2
iQA/AwUBNt9D7a7mCRb7DD36EQK2PACgjN4AwzpMku85OdQjRWbMzEVlWMcAoLZK
HEWIyhG2vj981B7YVW3YI0jt
=JCJ3
-----END PGP SIGNATURE-----
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
- Raw text -