Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

warning messages 2

Status
Not open for further replies.

pierrotsc

Programmer
Nov 25, 2007
358
0
0
US
I am getting warning messages that some symbols are specific to a platform. For example, TTaskdialog
Anyway I can get rid of the warning?
Thanks.
P
 
You can turn off these warnings using the compiler set up, Exactly where that is will depend on your version of Delphi
In XE its in Project Menu Options/Delphi Compiler/Hints and warnings, Set Platform Symbol and Platform unit Warnings to false.

Steve: N.M.N.F.
If something is popular, it must be wrong: Mark Twain
That's just perfectly normal Paranoia everyone in the universe has that: Slartibartfast
 
You can also turn off warnings just before the offending line, and turn it back on just after, rather than make it universal to your project.

{$WARNINGS OFF}
<Your code that generates warning>
{$WARNINGS ON}

Now, that one line won't generate a warning.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top