On Wed, Apr 18, 2001 at 03:46:08PM +0100, Cormac McClean wrote:
> I need to compile a series of short, standalone C programs. Most (if not
> all) have been created as void main(). gcc complains about this:
of course it does. don't declare main with a void return type. see:
http://www.eskimo.com/~scs/C-faq/q11.12.html
kevin
--
kevin at suberic.net can you decypher the hidden message?
fork()'ed on 37058400 fhsa jhs foiqrn kjan rvgn mv. bvdf bvdfk fghdfgs
meatspace place: work sjnf qrfrtfbmf? zc fou djv eruhfgaa varuf haerf.
http://suberic.net/~kevin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!