When I include {$WARN UNIT_PLATFORM OFF} in my source (or project) it still
produces warnings, like:

"Symbol Unit 'FileCtrl' is specific to platform"
"Symbol 'faArchive' is specific to platform"

The lines in question read:


    uses  FileCtrl;

and

    findFirst( sFile, faArchive, sRec );



Q1. Why can't I suppress the warning on line "uses FileCtrl"

Q2. Why is warning #2 gone when I prefix with SysUtils as below:

    findFirst( sFile, SysUtils.faArchive, sRec );


Any ideas?

John

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to