Mail Archives: djgpp/1995/10/08/05:49:27
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 -