【发布时间】:2010-10-26 15:10:04
【问题描述】:
在 Delphi 2007 中,正在处理一个包含自定义组件的项目,当我进行完整构建时(但当我进行直接编译时不会),我会收到这组警告作为消息中的前四个:
[DCC Warning] Dialogs.pas(1426): W1002 Symbol 'TFileOpenDialog' is specific to a platform
[DCC Warning] Dialogs.pas(1446): W1002 Symbol 'TFileSaveDialog' is specific to a platform
[DCC Warning] ComCtrls.pas(6757): W1036 Variable 'Section' might not have been initialized
[DCC Warning] ComCtrls.pas(19268): W1023 Comparing signed and unsigned types - widened both operands
我通常会尽量消除编译器警告,但这些都是“库存”Delphi 单元。这些警告是我代码中某些内容的间接结果吗?如果是这样,我如何弄清楚什么/在哪里?如果没有,我该怎么办?
【问题讨论】:
标签: delphi ide compiler-construction custom-component