ftp.delorie.com/archives/browse.cgi | search |
Date: | Mon, 28 Nov 94 17:00:05 -0700 |
From: | "Mathew J. Hostetter" <iclone!mat AT sloth DOT swcp DOT com> |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: Unused variables |
A DOT APPLEYARD AT fs1 DOT mt DOT umist DOT ac DOT uk writes: >Compile your program with option `-Wall'. Perhaps even >`-Wunused' if my memory serves. Correct (-Wall implies -Wunused). You should _always_ use -Wall, and you should also get in the habit of compiling "-O -Wall", since "-O" enables the flow analysis gcc needs to warn you about uninitialized variables. -Mat mat AT ardi DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |