delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/22/15:48:51

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Newbie question (error that needs cc1plus.exe file)
Date: 22 May 1997 04:21:13 GMT
Organization: The National Capital FreeNet
Lines: 12
Message-ID: <5m0hjp$ln5@freenet-news.carleton.ca>
References: <97May21.104845gmt+0100 DOT 16661 AT internet01 DOT amc DOT de>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet3.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


F.Y.I., if I compile with -Wall I get complaints if main is declared void,
or if it has no return statement (such as return 0). This is actually
irritating sometimes when I have actually designed it so that main calls a
function like cleanup() that has an exit in it. :)

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


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