Method CompilerEnvironment()->PikeCompiler()->suppress_deprecation_warnings()


Method suppress_deprecation_warnings

int(0..2) suppress_deprecation_warnings()

Description

Allows to query whether (during an active compilation) deprecation and experimental warnings are supposed to be suppressed.

Returns

2 if deprecation and experimental warnings should be suppressed, 1 if experimental warnings should be suppressed, 0 otherwise.