RAD Studio |  |

#pragma
See Also
Collapse All

Syntax

Copy Code

    #pragma directive-name

Description

With #pragma, you can set compiler directives in your source code, without interfering with other compilers that also support #pragma. If the compiler doesn't recognize directive-name, it ignores the #pragma directive without any error or warning message.

The CodeGear C++ supports the following #pragma directives: (Links to these topics are at the bottom of this topic.)

- #pragma alignment
- #pragma anon_struct
- #pragma argsused
- #pragma checkoption
- #pragma codeseg
- #pragma comment
- #pragma defineonoption
- #pragma exit
- #pragma hdrfile
- #pragma hdrstop
- #pragma inline
- #pragma intrinsic
- #pragma link
- #pragma message
- #pragma nopushoptwarn
- #pragma obsolete
- #pragma option
- #pragma pack
- #pragma package
- #pragma region/end_region
- #pragma resource
- #pragma startup
- #pragma undefineonoption
- #pragma warn

See Also

#pragma alignment

#pragma anon_struct

#pragma argsused

#pragma checkoption

#pragma codeseg

#pragma comment

#pragma defineonoption

#pragma exit

#pragma hdrfile

#pragma hdrstop

#pragma inline

#pragma intrinsic

#pragma link

#pragma message

#pragma nopushoptwarn

#pragma obsolete

#pragma option

#pragma pack

#pragma package

#pragma region/end_region

#pragma resource

#pragma startup

#pragma undefineonoption

#pragma warn

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