Date: Thu, 22 Oct 1998 09:28:17 +0200 (MET DST) From: Olivier Perron 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: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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)