It is actually {$WARN UNIT_PLATFORM OFF} but how can I set this in the IDE - I would prefer to avoid putting the directive in each unit...
Regards
Paul McKenzie
Analyst Programmer
SMSS ltd.
 
----- Original Message -----
Sent: Friday, November 01, 2002 8:58 AM
Subject: RE: [DUG]: IDE Compiler options

yep {$WARN PLATFORM OFF} - I think that syntax is right - put it at the top of the unit that uses filectrl - had the exact same thing yesterday.
Myles.
 
-----Original Message-----
From: Paul Mckenzie [mailto:[EMAIL PROTECTED]]
Sent: Friday, 1 November 2002 8:44 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: IDE Compiler options

Is there a way to turn a specific type of warning off in the IDE
I want to turn off the warnings for:
"[Warning] SomeUnit.pas(xxx): Unit 'FileCtrl' is specific to a platform"
"[Warning] SomeUnit.pas(xxx): Symbol 'FileSetAttr' is specific to a platform"
 
We will never (not in the next few years) move from Windows.
 
Regards
Paul McKenzie
Analyst Programmer
SMSS ltd.
 

Reply via email to