Pike v8.0 release 1738

Directive #pragma


Directive #pragma

#pragma

Description

This is a generic directive for flags to the compiler.

These are some of the flags that are available:

"all_inline"

This is the same as adding the modifier inline to all functions that follow.

"all_final"

Instructs the compiler to mark all symbols as final.

"all_nomask"

Deprecated version of "all_final".

"save_parent"

Cause nested classes to save a reference to their surrounding class even if not strictly needed.

"dont_save_parent"

Inverse of "save_parent". This is needed to override if the global symbol __pragma_save_parent__ has been set.

"strict_types"

Enable warnings for all cases where the compiler isn't certain that the types are correct.