--- Comment #28 from 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;

@used int x;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to