From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: compile warning Date: Sun, 11 May 1997 12:29:20 -0400 Organization: Cornell University http://www.cornell.edu Lines: 23 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <3375F3E0.610B@cornell.edu> References: <97May10.184721gmt+0100 DOT 16645 AT internet01 DOT amc DOT de> Reply-To: asu1 AT cornell DOT edu NNTP-Posting-Host: cu-dialup-0093.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Chris Croughton wrote: > > Even with -Wall -ansi -pedantic I can't get gcc to complain about > void main... RTFM, please. from the info docs: Some users try to use `-pedantic' to check programs for strict ANSI C conformance. They soon find that it does not do quite what they want: it finds some non-ANSI practices, but not all--only those for which ANSI C *requires* a diagnostic. -- Sinan ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:sinan DOT unur AT cornell DOT edu C ^ http://www.people.cornell.edu/pages/asu1/ \ ~/ Unsolicited e-mail is _not_ welcome, and will be billed for. *******************************************************************