Mail Archives: djgpp/1997/02/27/13:29:46
nikki wrote:
> just a thought, but putting 'static' before global variables and
> compiling
> with -Wall will show unusued global variables too. as well as local
> unused
> ones.
Those are static external, not external (e.g., global). The static
qualifier before a variable definitions outside of any block means that the
linkage is internal to that file. You can't reference it in another file.
In other words, it's _not_ global across files if you do this.
--
Erik Max Francis, &tSftDotIotE / email: max AT alcyone DOT com
Alcyone Systems / web: http://www.alcyone.com/max/
San Jose, California, United States / icbm: 37 20 07 N 121 53 38 W
\
"I am become death, / destroyer of worlds."
/ J. Robert Oppenheimer (quoting legend)
- Raw text -