这个Delphi的定义{$ WARN GARBAGE ON}是什么意思? [英] What this Delphi's define {$WARN GARBAGE ON} means?

查看:227
本文介绍了这个Delphi的定义{$ WARN GARBAGE ON}是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我热衷于在Delphi语言中找到新的条件定义和关键字,这些都是未记录的。



像{$ WARN GARBAGE ON}



http://qc.embarcadero.com/ wc / qcmain.aspx?d = 77686



我在质量中心报告这样的东西,但问题已经关闭和提升到内部数据库 p>

这是什么意思?

解决方案

这两个警告现在是已记录


GARBAGE :打开或关闭在程序,单元,库或包中的最后一个end末尾检测到非空格文本时出现的警告



UNIT_EXPERIMENTAL :打开或关闭应用于单元声明的实验指令的所有警告。


据推测,添加文档后,报告被标记为已修复。


I am keen on finding new conditional defines and keywords in the Delphi language which are undocumented.

Stuff like {$WARN GARBAGE ON}

http://qc.embarcadero.com/wc/qcmain.aspx?d=77686

I report such stuff in Quality Central but the issue got closed and "Promoted to Internal Database".

What does this mean? Should I expect an answer to this already year and half old question?

解决方案

These two warnings are now documented.

GARBAGE: Turns on or off warnings produced when the presence of non-whitespace text is detected past the end of the final 'end.' in the program, unit, library or package

UNIT_EXPERIMENTAL: Turns on or off all warnings about the experimental directive applied to a unit declaration.

Presumably the report was marked as fixed once the documentation was added.

这篇关于这个Delphi的定义{$ WARN GARBAGE ON}是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆