http://d.puremagic.com/issues/show_bug.cgi?id=3960
--- Comment #28 from bearophile_h...@eml.cc 2012-04-26 13:04:47 PDT --- (In reply to comment #26) > I think that issue# 7989 is a great argument for why there shouldn't be any > warnings or errors for unused variables. Such would needlessly make writing > template constraints harder. The fact that in some uncommon situations you want to define a variable and not use it, can't justify the lack of a compile reaction to unused variables. There are solutions to that problem, Steven Schveighoffer suggests something like: pragma(used) int x; Or: @used int x; -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------