delorie.com/archives/browse.cgi | search |
Date: | Thu, 22 Oct 1998 09:28:17 +0200 (MET DST) |
From: | Olivier Perron <perron AT art DOT alcatel DOT fr> |
X-Sender: | perron AT rtbsci146s |
To: | djgpp AT delorie DOT com |
Subject: | Re: DGJPP "Abort!"ing |
In-Reply-To: | <362fa718.12667874@news.cc.umanitoba.ca> |
Message-Id: | <Pine.GSO.4.05.9810220925590.13261-100000@rtbsci146s> |
Mime-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
On Thu, 22 Oct 1998, LupusNoctus wrote: > Yet another entry in the screwy compile error Saga: > I'll begin with the error text: > > C:\74.206\assn2>gxx a2q2.cpp -O -o go2.exe -Wall > a2q2.cpp:26: warning: return type for `main' changed to `int' > Abort! > you didn't define main as a function returning an int. Look where you wrote your main() function, and check that it is defined as: int main(void) or: int main(int argc, char **argv)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |