RAD Studio
ContentsIndex
PreviousUpNext
#pragma warn

Syntax

#pragma warn [+|-|.]xxx

Description 

The warn pragma lets you override specific -wxxx command-line options or check Display Warnings. xxx is the three-letter or four-digit message identifier used by the command-line option. 

+ turns on a warning while - disables the warning. The '.' restores a warning to the setting in Project Options

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!