Show: Delphi C++
Display Preferences

#pragma checkoption

From RAD Studio
Jump to: navigation, search

Go Up to Pragma Directives Overview Index

Syntax (See Pseudo-grammar)

#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.
Personal tools
RAD Studio 10.2 Tokyo
In other languages
Previous Versions
Assistance