Xref: news-dnh.mv.net comp.os.msdos.djgpp:2523 Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!usenet.eel.ufl.edu!col.hp.com!sdd.hp.com!vixen.cso.uiuc.edu!uwm.edu!lll-winken.llnl.gov!simtel!swidir.switch.ch!newsfeed.ACO.net!alijku06!news From: Roland Exler Newsgroups: comp.os.msdos.djgpp Subject: Re: Prototype Checking Date: 10 Oct 1995 07:02:47 GMT Organization: Institute for el. Measurement, University of Linz, Austria Lines: 21 References: Nntp-Posting-Host: sensor4.emt.uni-linz.ac.at To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp "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? With djgpp(gcc) just turn on flag -Wall, which gives a lot of useful warnings, including function-calls without prototypes. More flags are explained in the docs (info or printed-version). Roland +---------------------------------------+---------------------------+ I Roland Exler I EMAIL: I I Universitaet Linz I R DOT Exler AT jk DOT uni-linz DOT ac DOT at I I Institut fuer Elektrische Messtechnik I I I Altenbergerstr. 69 I Phone: I I A-4040 Linz, AUSTRIA I + 43 732 2468 9205 I +---------------------------------------+---------------------------+