bcb pragma支持选项

DirectiveDescriptionClassic CompilerClang Compiler
#pragma commentWrites a comment record in the object file. This can include linking to a library module. See Auto Linking for more information.

Allowed.png

Allowed.png

#pragma linkInstructs the linker to link the file into an executable file. See Auto Linking for more information.

Allowed.png

Allowed.png

#pragma exitIndicates a function to be run on program exit (before _exit).

Allowed.png

Allowed.png

#pragma messagePrints the specified message at compile time.

Allowed.png

Allowed.png

#pragma packageControls the initialization order of packages and other aspects related to packages.

Allowed.png

Allowed.png

#pragma resourceEmits a comment record that instructs the linker to mark the file as a form unit.

Allowed.png

Allowed.png

#pragma startupIndicates a function to be run on program startup (before main).

Allowed.png

Allowed.png

#pragma aliasIndicates that two identifier names are equivalent.

Allowed.png

#pragma alignmentPrints the alignment setting and enum size.

Allowed.png

#pragma anon_structAllows compiling anonymous structures.

Allowed.png

#pragma argsusedInhibits warning about unused arguments.

Allowed.png

#pragma checkoptionVerifies that the specified options are set.

Allowed.png

#pragma codesegIndicates the code segment for function allocation.

Allowed.png

#pragma codestringEmits bytes into the code segment.

Allowed.png

#pragma defineonoptionDefines the specified symbol if the specified options are set.

Allowed.png

#pragma delphiheaderIndicates the bounds of a Delphi header.

Allowed.png

#pragma explicit_rttiSpecifies for what class or record members (public, protected, and so on) RTTI should be generated.

Allowed.png

#pragma extrefForces an external reference for the specified symbol.

Allowed.png

#pragma hdrfileSpecifies the name of the precompiled header.

Allowed.png

#pragma hdrignoreObsolete.
#pragma hdrstopStops the precompiling after the current header.

Allowed.png

#pragma implementsEmits a comment record containing the name of the current unit to the object file.

Allowed.png

#pragma init_segAffects the order in which startup code is executed.

Allowed.png

#pragma inlineCauses the compiler to restart itself with the option -B.

Allowed.png

#pragma intrinsicOverrides the options that control the inlining of functions.

Allowed.png

#pragma nopushoptwarnSuppresses the warnings about mismatched #pragma option push/pop.

Allowed.png

#pragma nopackwarningSuppresses the warnings about mismatched #pragma pack push/pop.

Allowed.png

#pragma noretvalIndicates that a function doesn't return.

Allowed.png

#pragma obsoleteIndicates that the specified symbol is obsolete.

Allowed.png

#pragma onceIndicates that the current header file must be included once.

Allowed.png

#pragma optionSaves the current options and sets the specified options.

Allowed.png

#pragma packSets the structure packing alignment.

Allowed.png

#pragma region/end_regionIndicates code regions. Used by the IDE editor for code folding.

Allowed.png

#pragma samecodesegPlaces the specified functions in the same code segment.

Allowed.png

#pragma sizeofPrints the size of the specified aggregate.

Allowed.png

#pragma sysheaderIndicates the bounds of a system header.

Allowed.png

#pragma undefineonoptionUndefines the specified symbol if the specified options are set.

Allowed.png

#pragma warnEnables/disables warnings.

Allowed.png

  • 5
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

zpweiai

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值