Qore Programming Language Reference Manual

Warnings give the programmer information about possible errors in Qore code.

Warnings can be enabled using the -W command-line option (see qore Executable Command-Line Processing for more information) or by using the %enable-all-warnings or %enable-warning parse directives.

Command Line Example
prompt$ qore -wdeprecated -wduplicate-hash-key script.q
Qore Code Example
%enable-warning deprecated
%enable-warning duplicate-hash-key
%disable-warning excess-args
List of All Warnings