What this Delphi's define {$WARN GARBAGE ON} means?

二次信任 提交于 2019-12-08 02:53:53

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/8765876/what-this-delphis-define-warn-garbage-on-means

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!