RAD Studio
ContentsIndex
PreviousUpNext
#pragma checkoption

Syntax

#pragma checkoption <switches>

where <switches> are any command line switches. 

Description  

This pragma checks a set of options. 

For instance, the following pragma

#pragma checkoption -w- -Vx

checks if the options -w- and -Vx are active. If not, you get the error:  

Error E2471 filename: pragma checkoption failed: options are not as expected

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!