www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/08/05:49:27

Date: Sun, 8 Oct 1995 11:23:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Nathan L. Cutler" <library AT ssd DOT anet DOT cz>
Cc: djgpp <djgpp AT sun DOT soe DOT clarkson DOT edu>
Subject: Re: Prototype Checking

On Sat, 7 Oct 1995, Nathan L. Cutler wrote:

> I am going through a C tutorial that is very good but quite old.  One of the
> things it is telling me to do is to enable prototype checking with my
> compiler.  I am using djgpp.  (1) is it actually necessary to turn on proto-
> type checking with gcc? and (2) what is the command-line extension to do so?

Include the -Wall switch to DJGPP and DON'T include -traditional.  
(Strictly speaking, -Wall turns on many other warnings, but as you seem 
to learn C programming, you'll find the additional warnings handy, too.)

- Raw text -


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