开发者

Problem in use Deprecated or Experimental directive

As you know in Delphi we can use Deprecated directive to say a method or ... is obsolete or supported only for backward compatibility and we can use Experimental directive to say current unit are in an unstable development state .

Deprecated & Experimental directives work properly in form,s unit , but when we use it on unit that we add 开发者_Go百科to application manualy they don,t work and when compile application don,t show any warning message in message window .

May i should enable any directive like {$HINTS ON} or {$WARNINGS ON} in that unit ? Any one can help me ?

Thanks alot .


I think you've answered the question yourself. These directives make the compiler emit warnings, but only if warnings are enabled at that point in the compilation. Note that these symbols produce warnings rather than hints.

I personally configure the compiler to treat the use of deprecated symbols as an error rather than a warning.

Problem in use Deprecated or Experimental directive

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜