Wish: Variable Not Used Warning
Markus Koskimies
markus at reaaliaika.net
Mon Jul 14 15:56:13 PDT 2008
On Mon, 14 Jul 2008 21:51:16 +0100, Bruce Adams wrote:
> On Thu, 10 Jul 2008 21:32:23 +0100, Markus Koskimies
> <markus at reaaliaika.net> wrote:
>
>> About those unused imports (mentioned by Robert) - I think that the
>> compiler could stop also with those. I was just coming to that subject
>> :D
>
> Unused symbols must not be a warning in the case of shared libraries.
You mean unused local vars or private members in classes? (although I
learned a short time a go that private members in D are not invisible
from other code).
Certainly public members in classes/modules are never "unused", since you
may link it with different code and it becomes used.
More information about the Digitalmars-d
mailing list