Warnings in templates
Gabriel Dos Reis
gdr@integrable-solutions.net
Mon May 31 22:01:00 GMT 2004
Mark Mitchell <mark@codesourcery.com> writes:
[...]
| There are cases (like an "expression has no effect" warning in a
| template on the statement "3;") that we could issue with zero false
| positives in a template, and issuing those make sense to me. If we're
| not sure, we can defer the warning until instantiation time. I think
| things where we can't avoid false positives should be deferred until
| instantiation time.
Agreed.
-- Gaby
More information about the Gcc
mailing list