From: "Matthew Conte" Newsgroups: comp.os.msdos.djgpp References: <19981006122045 DOT 25193 DOT 00007641 AT ng117 DOT aol DOT com> Subject: Re: Another silly question! Lines: 19 X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Message-ID: Date: Tue, 6 Oct 1998 13:07:19 -0400 NNTP-Posting-Host: 24.92.55.44 X-Complaints-To: abuse AT nycap DOT rr DOT com X-Trace: proxye1.nycap.rr.com 907693790 24.92.55.44 (Tue, 06 Oct 1998 13:09:50 EDT) NNTP-Posting-Date: Tue, 06 Oct 1998 13:09:50 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >jerk( ) >{ > printf("Bill is a jerk.\n"); >} > >How come I don't get any prototyping warnings or errors when >I compile this? It compiles fine... no warnings or nothin' Try adding -Wall to your compile line. If you don't, gcc will suppress the two warnings: Warning: return-type defaults to `int' Warning: control reaches end of non-void function Later, Matt.