Categorization of warnings

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 29 01:33:06 PDT 2016


On Tuesday, 29 March 2016 at 08:13:59 UTC, Johan Engelen wrote:
> On Tuesday, 29 March 2016 at 04:35:11 UTC, Dicebot wrote:
>>
>> Sadly, this isn't very useful. If there is one legitimate use 
>> of code warned about one wants to disable that specific place 
>> and not all warning of that kind in whole program. Which means 
>> it has to be controlled by some sort of pragma.
>
> for which you would need categorization of warnings.

Not necessarily. "Ignore any warning in next statement" would 
work in practice too. Though categorization is indeed useful for 
clean separation - as part of such pragma.


More information about the Digitalmars-d mailing list