Proposal on improvement to deprecated

Regan Heath regan at netmail.co.nz
Mon Oct 3 07:01:13 PDT 2011


We've already got informational warnings, warnings and errors.. why not  
just expand pragma to allow programmers to emit them on a case by case  
basis, i.e.

pragma(info, "foo is scheduled for deprecation")
pragma(warning, "foo will be deprecated on dd/mm/yy, replace with bar")
pragma(error, "foo has been deprecated, replace with bar")

R


More information about the Digitalmars-d mailing list