On 5 April 2012 11:03, Gabriel Dos Reis wrote:
>>
>> Note that some of the above depend on optimization flag settings
>> (and optimization happening).  Those are not good candidates - I think
>> good candidates are those that would still be fully operational with
>> -fsyntax-only.
>
> I am not sure -fsyntax-only is a good criteria.
> -fsyntax-only limits the amount of work that the compiler does in terms
> of code generation, but it should be orthogonal to diagnostic issues.

I don't think this is what you meant, but FWIW -fsyntax-only prevents
(at least some) template instantiation for C++, which means lots of
diagnostics are suppressed when using it.

Reply via email to