delphi编译信息提示:Unit 'xxxxxx' is specific to a platform

如果编译的时候,经常出现类似这种警告

    warning W1005: W1005 Unit 'FileCtrl' is specific to a platform 

    warning W1002: W1002 Symbol 'FindData' is specific to a platform

    就在Interface 与 Users 之间,也就是Users之前

    加上{$WARN  UNIT_PLATFORM OFF}

          {$WARN SYMBOL_PLATFORM OFF}

 

posted on 2020-12-30 17:01  癫狂编程  阅读(397)  评论(0编辑  收藏  举报

导航

好的代码像粥一样,都是用时间熬出来的