\hypertarget{group__warning__constants}{}\doxysection{Warning Constants}
\label{group__warning__constants}\index{Warning Constants@{Warning Constants}}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__warning__constants_gaca379fa551c754f3c17c8646f0266d3c}\label{group__warning__constants_gaca379fa551c754f3c17c8646f0266d3c}} 
const {\bfseries Qore\+::\+WARN\+\_\+\+ALL} = QP\+\_\+\+WARN\+\_\+\+ALL
\begin{DoxyCompactList}\small\item\em Enables all warnings. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga123728981ed0a5970536f94bcbcd88b1}{Qore\+::\+WARN\+\_\+\+BROKEN\+\_\+\+LOGIC\+\_\+\+PRECEDENCE}} = QP\+\_\+\+WARN\+\_\+\+BROKEN\+\_\+\+LOGIC\+\_\+\+PRECEDENCE
\begin{DoxyCompactList}\small\item\em This warns before expressions affected by \mbox{\hyperlink{parse_directives_broken-logic-precedence}{\%broken-\/logic-\/precedence}}. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga01d5b544bf6b6b9a2f536170a0dec874}{Qore\+::\+WARN\+\_\+\+CALL\+\_\+\+WITH\+\_\+\+TYPE\+\_\+\+ERRORS}} = QP\+\_\+\+WARN\+\_\+\+CALL\+\_\+\+WITH\+\_\+\+TYPE\+\_\+\+ERRORS
\begin{DoxyCompactList}\small\item\em Enables warnings when the parser determines that the argument types of a function or method call are such that the operation is guaranteed to produce a constant value. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_gac3e3f433df767225241ac8a79659ac82}{Qore\+::\+WARN\+\_\+\+DEFAULT}} = QP\+\_\+\+WARN\+\_\+\+DEFAULT
\begin{DoxyCompactList}\small\item\em The default warning mask. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga9cc566b485af781c2399391757b5ed42}{Qore\+::\+WARN\+\_\+\+DEPRECATED}} = QP\+\_\+\+WARN\+\_\+\+DEPRECATED
\begin{DoxyCompactList}\small\item\em Enables a warning when deprecated code is used. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga664f2aba566e42b153dad3a0caf66a6b}{Qore\+::\+WARN\+\_\+\+DUPLICATE\+\_\+\+BLOCK\+\_\+\+VARS}} = QP\+\_\+\+WARN\+\_\+\+DUPLICATE\+\_\+\+BLOCK\+\_\+\+VARS
\begin{DoxyCompactList}\small\item\em Enables a warning when a program declares a local variable more than once in the same block; note that this is not a warning but rather an error when assume-\/local or new-\/style parse options are set. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_gab247c4239ec72ab1d1d371db02a4885a}{Qore\+::\+WARN\+\_\+\+DUPLICATE\+\_\+\+GLOBAL\+\_\+\+VARS}} = QP\+\_\+\+WARN\+\_\+\+DUPLICATE\+\_\+\+GLOBAL\+\_\+\+VARS
\begin{DoxyCompactList}\small\item\em Indicates that the embedded code has declared the same global variable more than once. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga23066c3a05c2fe71f38ab685f1bf6b09}{Qore\+::\+WARN\+\_\+\+DUPLICATE\+\_\+\+HASH\+\_\+\+KEY}} = QP\+\_\+\+WARN\+\_\+\+DUPLICATE\+\_\+\+HASH\+\_\+\+KEY
\begin{DoxyCompactList}\small\item\em Enables a warning when an immediate hash is declared and at least one of the keys is repeated. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_gadf0ad85e6dc336579e482387049a2f56}{Qore\+::\+WARN\+\_\+\+DUPLICATE\+\_\+\+LOCAL\+\_\+\+VARS}} = QP\+\_\+\+WARN\+\_\+\+DUPLICATE\+\_\+\+LOCAL\+\_\+\+VARS
\begin{DoxyCompactList}\small\item\em Enables a warning when a local variable with the same name is declared in a subblock (ie another local variable with the same name is reachable in the same lexical scope); note that this warning can raise false positives if the programmer is used to redeclaring the same variable names in subblocks. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_gad5de92870336590ea44a7c26f1bf1ca2}{Qore\+::\+WARN\+\_\+\+EXCESS\+\_\+\+ARGS}} = QP\+\_\+\+WARN\+\_\+\+EXCESS\+\_\+\+ARGS
\begin{DoxyCompactList}\small\item\em Enables a warning when a function or method call is made with more arguments than are used by the function or method. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_gad7d5ccb4cca35c2be30baab1e2bf7bf7}{Qore\+::\+WARN\+\_\+\+INVALID\+\_\+\+CATCH}} = QP\+\_\+\+WARN\+\_\+\+INVALID\+\_\+\+CATCH
\begin{DoxyCompactList}\small\item\em This warns when the catch variable has no type definition and types are required. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_gaac6499101e41bd5528237e2e8ddd8bf4}{Qore\+::\+WARN\+\_\+\+INVALID\+\_\+\+OPERATION}} = QP\+\_\+\+WARN\+\_\+\+INVALID\+\_\+\+OPERATION
\begin{DoxyCompactList}\small\item\em Indicates that the embedded code performs some operation that is guaranteed to produce no result (for example, using the \mbox{\hyperlink{operators_list_element_operator}{\mbox{[}\mbox{]} operator}} on an integer value) \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga7f704aa8f7652702d72d22ce93125566}{Qore\+::\+WARN\+\_\+\+MODULES}} = QP\+\_\+\+WARN\+\_\+\+MODULES
\begin{DoxyCompactList}\small\item\em The default warning mask for \mbox{\hyperlink{qore_modules_user_modules}{user modules}}. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__warning__constants_ga5d8afd6e29d7ceba003d8869c2bbe5e1}\label{group__warning__constants_ga5d8afd6e29d7ceba003d8869c2bbe5e1}} 
const {\bfseries Qore\+::\+WARN\+\_\+\+NONE} = QP\+\_\+\+WARN\+\_\+\+NONE
\begin{DoxyCompactList}\small\item\em Represents no warning. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga257188e66b355163c9dedc161e722254}{Qore\+::\+WARN\+\_\+\+NONEXISTENT\+\_\+\+METHOD\+\_\+\+CALL}} = QP\+\_\+\+WARN\+\_\+\+NONEXISTENT\+\_\+\+METHOD\+\_\+\+CALL
\begin{DoxyCompactList}\small\item\em Indicates that the embedded code is calling an unknown method in a class. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_gadab0ec646f61cd37bdc79bb0fc948f79}{Qore\+::\+WARN\+\_\+\+RETURN\+\_\+\+VALUE\+\_\+\+IGNORED}} = QP\+\_\+\+WARN\+\_\+\+RETURN\+\_\+\+VALUE\+\_\+\+IGNORED
\begin{DoxyCompactList}\small\item\em Enables a warning when a function or method call is made with no side effects and the return value is ignored. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga597d58a31c59bc47bbecfe8160c57129}{Qore\+::\+WARN\+\_\+\+UNDECLARED\+\_\+\+VAR}} = QP\+\_\+\+WARN\+\_\+\+UNDECLARED\+\_\+\+VAR
\begin{DoxyCompactList}\small\item\em Indicates that the embedded code referenced an undeclared variable that will be assumed to be a global variable. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga82936dc7ad95c220a0b3635618bffea9}{Qore\+::\+WARN\+\_\+\+UNKNOWN\+\_\+\+WARNING}} = QP\+\_\+\+WARN\+\_\+\+UNKNOWN\+\_\+\+WARNING
\begin{DoxyCompactList}\small\item\em Indicates that the embedded code tried to enable or disable an unknown warning. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga677c5a9e0fdfb07d76c152999fffdc55}{Qore\+::\+WARN\+\_\+\+UNREACHABLE\+\_\+\+CODE}} = QP\+\_\+\+WARN\+\_\+\+UNREACHABLE\+\_\+\+CODE
\begin{DoxyCompactList}\small\item\em Indicates that code cannot be reached (for example; code in the same local block after an unconditional \mbox{\hyperlink{statements_return}{return}} or \mbox{\hyperlink{statements_thread_exit}{thread\+\_\+exit}} statement) \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga8e22cc8dbf206cc7512d89b88b6e2564}{Qore\+::\+WARN\+\_\+\+UNREFERENCED\+\_\+\+VARIABLE}} = QP\+\_\+\+WARN\+\_\+\+UNREFERENCED\+\_\+\+VARIABLE
\begin{DoxyCompactList}\small\item\em This warning is raised when a variable is declared in a block but never referenced. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga2463b44ba4c7437bb45d9c9850bffd3e}{Qore\+::\+WARN\+\_\+\+WARNING\+\_\+\+MASK\+\_\+\+UNCHANGED}} = QP\+\_\+\+WARN\+\_\+\+WARNING\+\_\+\+MASK\+\_\+\+UNCHANGED
\begin{DoxyCompactList}\small\item\em This warning means that the embedded code tried to change the warning mask, but it was locked, so the warning mask was actually unchanged. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These are the possible values that can be or\textquotesingle{}ed together to set the \mbox{\hyperlink{class_qore_1_1_program}{Program}} warning mask / 

\doxysubsection{Variable Documentation}
\mbox{\Hypertarget{group__warning__constants_ga123728981ed0a5970536f94bcbcd88b1}\label{group__warning__constants_ga123728981ed0a5970536f94bcbcd88b1}} 
\index{Warning Constants@{Warning Constants}!WARN\_BROKEN\_LOGIC\_PRECEDENCE@{WARN\_BROKEN\_LOGIC\_PRECEDENCE}}
\index{WARN\_BROKEN\_LOGIC\_PRECEDENCE@{WARN\_BROKEN\_LOGIC\_PRECEDENCE}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_BROKEN\_LOGIC\_PRECEDENCE}{WARN\_BROKEN\_LOGIC\_PRECEDENCE}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+BROKEN\+\_\+\+LOGIC\+\_\+\+PRECEDENCE = QP\+\_\+\+WARN\+\_\+\+BROKEN\+\_\+\+LOGIC\+\_\+\+PRECEDENCE}



This warns before expressions affected by \mbox{\hyperlink{parse_directives_broken-logic-precedence}{\%broken-\/logic-\/precedence}}. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_warning-broken-logic-precedence}{broken-\/logic-\/precedence}}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
Qore 0.\+8.\+12.\+11 
\end{DoxySince}
\mbox{\Hypertarget{group__warning__constants_ga01d5b544bf6b6b9a2f536170a0dec874}\label{group__warning__constants_ga01d5b544bf6b6b9a2f536170a0dec874}} 
\index{Warning Constants@{Warning Constants}!WARN\_CALL\_WITH\_TYPE\_ERRORS@{WARN\_CALL\_WITH\_TYPE\_ERRORS}}
\index{WARN\_CALL\_WITH\_TYPE\_ERRORS@{WARN\_CALL\_WITH\_TYPE\_ERRORS}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_CALL\_WITH\_TYPE\_ERRORS}{WARN\_CALL\_WITH\_TYPE\_ERRORS}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+CALL\+\_\+\+WITH\+\_\+\+TYPE\+\_\+\+ERRORS = QP\+\_\+\+WARN\+\_\+\+CALL\+\_\+\+WITH\+\_\+\+TYPE\+\_\+\+ERRORS}



Enables warnings when the parser determines that the argument types of a function or method call are such that the operation is guaranteed to produce a constant value. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_call-with-type-errors}{call-\/with-\/type-\/errors}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_gac3e3f433df767225241ac8a79659ac82}\label{group__warning__constants_gac3e3f433df767225241ac8a79659ac82}} 
\index{Warning Constants@{Warning Constants}!WARN\_DEFAULT@{WARN\_DEFAULT}}
\index{WARN\_DEFAULT@{WARN\_DEFAULT}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_DEFAULT}{WARN\_DEFAULT}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+DEFAULT = QP\+\_\+\+WARN\+\_\+\+DEFAULT}



The default warning mask. 

This warning is made up of the following values combined with binary or\+:
\begin{DoxyItemize}
\item \mbox{\hyperlink{group__warning__constants_ga82936dc7ad95c220a0b3635618bffea9}{WARN\+\_\+\+UNKNOWN\+\_\+\+WARNING}}
\item \mbox{\hyperlink{group__warning__constants_ga677c5a9e0fdfb07d76c152999fffdc55}{WARN\+\_\+\+UNREACHABLE\+\_\+\+CODE}}
\item \mbox{\hyperlink{group__warning__constants_ga257188e66b355163c9dedc161e722254}{WARN\+\_\+\+NONEXISTENT\+\_\+\+METHOD\+\_\+\+CALL}}
\item \mbox{\hyperlink{group__warning__constants_gaac6499101e41bd5528237e2e8ddd8bf4}{WARN\+\_\+\+INVALID\+\_\+\+OPERATION}}
\item \mbox{\hyperlink{group__warning__constants_ga01d5b544bf6b6b9a2f536170a0dec874}{WARN\+\_\+\+CALL\+\_\+\+WITH\+\_\+\+TYPE\+\_\+\+ERRORS}}
\item \mbox{\hyperlink{group__warning__constants_gadab0ec646f61cd37bdc79bb0fc948f79}{WARN\+\_\+\+RETURN\+\_\+\+VALUE\+\_\+\+IGNORED}}
\item \mbox{\hyperlink{group__warning__constants_ga9cc566b485af781c2399391757b5ed42}{WARN\+\_\+\+DEPRECATED}}
\item \mbox{\hyperlink{group__warning__constants_ga23066c3a05c2fe71f38ab685f1bf6b09}{WARN\+\_\+\+DUPLICATE\+\_\+\+HASH\+\_\+\+KEY}}
\item \mbox{\hyperlink{group__warning__constants_ga664f2aba566e42b153dad3a0caf66a6b}{WARN\+\_\+\+DUPLICATE\+\_\+\+BLOCK\+\_\+\+VARS}}
\item \mbox{\hyperlink{group__warning__constants_ga123728981ed0a5970536f94bcbcd88b1}{WARN\+\_\+\+BROKEN\+\_\+\+LOGIC\+\_\+\+PRECEDENCE}}
\item \mbox{\hyperlink{group__warning__constants_gad7d5ccb4cca35c2be30baab1e2bf7bf7}{WARN\+\_\+\+INVALID\+\_\+\+CATCH}} 
\end{DoxyItemize}\mbox{\Hypertarget{group__warning__constants_ga9cc566b485af781c2399391757b5ed42}\label{group__warning__constants_ga9cc566b485af781c2399391757b5ed42}} 
\index{Warning Constants@{Warning Constants}!WARN\_DEPRECATED@{WARN\_DEPRECATED}}
\index{WARN\_DEPRECATED@{WARN\_DEPRECATED}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_DEPRECATED}{WARN\_DEPRECATED}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+DEPRECATED = QP\+\_\+\+WARN\+\_\+\+DEPRECATED}



Enables a warning when deprecated code is used. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{deprecated}{Deprecated List}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_ga664f2aba566e42b153dad3a0caf66a6b}\label{group__warning__constants_ga664f2aba566e42b153dad3a0caf66a6b}} 
\index{Warning Constants@{Warning Constants}!WARN\_DUPLICATE\_BLOCK\_VARS@{WARN\_DUPLICATE\_BLOCK\_VARS}}
\index{WARN\_DUPLICATE\_BLOCK\_VARS@{WARN\_DUPLICATE\_BLOCK\_VARS}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_DUPLICATE\_BLOCK\_VARS}{WARN\_DUPLICATE\_BLOCK\_VARS}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+DUPLICATE\+\_\+\+BLOCK\+\_\+\+VARS = QP\+\_\+\+WARN\+\_\+\+DUPLICATE\+\_\+\+BLOCK\+\_\+\+VARS}



Enables a warning when a program declares a local variable more than once in the same block; note that this is not a warning but rather an error when assume-\/local or new-\/style parse options are set. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_duplicate-block-vars}{duplicate-\/block-\/vars}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_gab247c4239ec72ab1d1d371db02a4885a}\label{group__warning__constants_gab247c4239ec72ab1d1d371db02a4885a}} 
\index{Warning Constants@{Warning Constants}!WARN\_DUPLICATE\_GLOBAL\_VARS@{WARN\_DUPLICATE\_GLOBAL\_VARS}}
\index{WARN\_DUPLICATE\_GLOBAL\_VARS@{WARN\_DUPLICATE\_GLOBAL\_VARS}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_DUPLICATE\_GLOBAL\_VARS}{WARN\_DUPLICATE\_GLOBAL\_VARS}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+DUPLICATE\+\_\+\+GLOBAL\+\_\+\+VARS = QP\+\_\+\+WARN\+\_\+\+DUPLICATE\+\_\+\+GLOBAL\+\_\+\+VARS}



Indicates that the embedded code has declared the same global variable more than once. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_duplicate-global-vars}{duplicate-\/global-\/vars}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_ga23066c3a05c2fe71f38ab685f1bf6b09}\label{group__warning__constants_ga23066c3a05c2fe71f38ab685f1bf6b09}} 
\index{Warning Constants@{Warning Constants}!WARN\_DUPLICATE\_HASH\_KEY@{WARN\_DUPLICATE\_HASH\_KEY}}
\index{WARN\_DUPLICATE\_HASH\_KEY@{WARN\_DUPLICATE\_HASH\_KEY}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_DUPLICATE\_HASH\_KEY}{WARN\_DUPLICATE\_HASH\_KEY}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+DUPLICATE\+\_\+\+HASH\+\_\+\+KEY = QP\+\_\+\+WARN\+\_\+\+DUPLICATE\+\_\+\+HASH\+\_\+\+KEY}



Enables a warning when an immediate hash is declared and at least one of the keys is repeated. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_duplicate-hash-key}{duplicate-\/hash-\/key}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_gadf0ad85e6dc336579e482387049a2f56}\label{group__warning__constants_gadf0ad85e6dc336579e482387049a2f56}} 
\index{Warning Constants@{Warning Constants}!WARN\_DUPLICATE\_LOCAL\_VARS@{WARN\_DUPLICATE\_LOCAL\_VARS}}
\index{WARN\_DUPLICATE\_LOCAL\_VARS@{WARN\_DUPLICATE\_LOCAL\_VARS}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_DUPLICATE\_LOCAL\_VARS}{WARN\_DUPLICATE\_LOCAL\_VARS}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+DUPLICATE\+\_\+\+LOCAL\+\_\+\+VARS = QP\+\_\+\+WARN\+\_\+\+DUPLICATE\+\_\+\+LOCAL\+\_\+\+VARS}



Enables a warning when a local variable with the same name is declared in a subblock (ie another local variable with the same name is reachable in the same lexical scope); note that this warning can raise false positives if the programmer is used to redeclaring the same variable names in subblocks. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_duplicate-local-vars}{duplicate-\/local-\/vars}} and \mbox{\hyperlink{group__warning__constants_ga664f2aba566e42b153dad3a0caf66a6b}{WARN\+\_\+\+DUPLICATE\+\_\+\+BLOCK\+\_\+\+VARS}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_gad5de92870336590ea44a7c26f1bf1ca2}\label{group__warning__constants_gad5de92870336590ea44a7c26f1bf1ca2}} 
\index{Warning Constants@{Warning Constants}!WARN\_EXCESS\_ARGS@{WARN\_EXCESS\_ARGS}}
\index{WARN\_EXCESS\_ARGS@{WARN\_EXCESS\_ARGS}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_EXCESS\_ARGS}{WARN\_EXCESS\_ARGS}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+EXCESS\+\_\+\+ARGS = QP\+\_\+\+WARN\+\_\+\+EXCESS\+\_\+\+ARGS}



Enables a warning when a function or method call is made with more arguments than are used by the function or method. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_excess-args}{excess-\/args}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_gad7d5ccb4cca35c2be30baab1e2bf7bf7}\label{group__warning__constants_gad7d5ccb4cca35c2be30baab1e2bf7bf7}} 
\index{Warning Constants@{Warning Constants}!WARN\_INVALID\_CATCH@{WARN\_INVALID\_CATCH}}
\index{WARN\_INVALID\_CATCH@{WARN\_INVALID\_CATCH}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_INVALID\_CATCH}{WARN\_INVALID\_CATCH}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+INVALID\+\_\+\+CATCH = QP\+\_\+\+WARN\+\_\+\+INVALID\+\_\+\+CATCH}



This warns when the catch variable has no type definition and types are required. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_invalid-catch}{invalid-\/catch}}
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
This is an error when \mbox{\hyperlink{parse_directives_strict-types}{\%strict-\/types}} is in effect
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 1.\+0 
\end{DoxySince}
\mbox{\Hypertarget{group__warning__constants_gaac6499101e41bd5528237e2e8ddd8bf4}\label{group__warning__constants_gaac6499101e41bd5528237e2e8ddd8bf4}} 
\index{Warning Constants@{Warning Constants}!WARN\_INVALID\_OPERATION@{WARN\_INVALID\_OPERATION}}
\index{WARN\_INVALID\_OPERATION@{WARN\_INVALID\_OPERATION}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_INVALID\_OPERATION}{WARN\_INVALID\_OPERATION}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+INVALID\+\_\+\+OPERATION = QP\+\_\+\+WARN\+\_\+\+INVALID\+\_\+\+OPERATION}



Indicates that the embedded code performs some operation that is guaranteed to produce no result (for example, using the \mbox{\hyperlink{operators_list_element_operator}{\mbox{[}\mbox{]} operator}} on an integer value) 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_invalid-operation}{invalid-\/operation}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_ga7f704aa8f7652702d72d22ce93125566}\label{group__warning__constants_ga7f704aa8f7652702d72d22ce93125566}} 
\index{Warning Constants@{Warning Constants}!WARN\_MODULES@{WARN\_MODULES}}
\index{WARN\_MODULES@{WARN\_MODULES}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_MODULES}{WARN\_MODULES}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+MODULES = QP\+\_\+\+WARN\+\_\+\+MODULES}



The default warning mask for \mbox{\hyperlink{qore_modules_user_modules}{user modules}}. 

This warning is made up of the following values combined with binary or\+:
\begin{DoxyItemize}
\item \mbox{\hyperlink{group__warning__constants_ga677c5a9e0fdfb07d76c152999fffdc55}{WARN\+\_\+\+UNREACHABLE\+\_\+\+CODE}}
\item \mbox{\hyperlink{group__warning__constants_ga257188e66b355163c9dedc161e722254}{WARN\+\_\+\+NONEXISTENT\+\_\+\+METHOD\+\_\+\+CALL}}
\item \mbox{\hyperlink{group__warning__constants_gaac6499101e41bd5528237e2e8ddd8bf4}{WARN\+\_\+\+INVALID\+\_\+\+OPERATION}}
\item \mbox{\hyperlink{group__warning__constants_ga01d5b544bf6b6b9a2f536170a0dec874}{WARN\+\_\+\+CALL\+\_\+\+WITH\+\_\+\+TYPE\+\_\+\+ERRORS}}
\item \mbox{\hyperlink{group__warning__constants_gadab0ec646f61cd37bdc79bb0fc948f79}{WARN\+\_\+\+RETURN\+\_\+\+VALUE\+\_\+\+IGNORED}}
\item \mbox{\hyperlink{group__warning__constants_ga23066c3a05c2fe71f38ab685f1bf6b09}{WARN\+\_\+\+DUPLICATE\+\_\+\+HASH\+\_\+\+KEY}}
\item \mbox{\hyperlink{group__warning__constants_ga664f2aba566e42b153dad3a0caf66a6b}{WARN\+\_\+\+DUPLICATE\+\_\+\+BLOCK\+\_\+\+VARS}}
\item \mbox{\hyperlink{group__warning__constants_ga123728981ed0a5970536f94bcbcd88b1}{WARN\+\_\+\+BROKEN\+\_\+\+LOGIC\+\_\+\+PRECEDENCE}}
\item \mbox{\hyperlink{group__warning__constants_gad7d5ccb4cca35c2be30baab1e2bf7bf7}{WARN\+\_\+\+INVALID\+\_\+\+CATCH}} 
\end{DoxyItemize}\mbox{\Hypertarget{group__warning__constants_ga257188e66b355163c9dedc161e722254}\label{group__warning__constants_ga257188e66b355163c9dedc161e722254}} 
\index{Warning Constants@{Warning Constants}!WARN\_NONEXISTENT\_METHOD\_CALL@{WARN\_NONEXISTENT\_METHOD\_CALL}}
\index{WARN\_NONEXISTENT\_METHOD\_CALL@{WARN\_NONEXISTENT\_METHOD\_CALL}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_NONEXISTENT\_METHOD\_CALL}{WARN\_NONEXISTENT\_METHOD\_CALL}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+NONEXISTENT\+\_\+\+METHOD\+\_\+\+CALL = QP\+\_\+\+WARN\+\_\+\+NONEXISTENT\+\_\+\+METHOD\+\_\+\+CALL}



Indicates that the embedded code is calling an unknown method in a class. 

This warning may generate false positives; it may be vaild operation if the calling method is only called from a derived class that actually implements the method. In this case, the \mbox{\hyperlink{operators_cast}{cast\texorpdfstring{$<$}{<}\texorpdfstring{$>$}{>} operator}} can be used to eliminate the warning.

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_non-existent-method-call}{non-\/existent-\/method-\/call}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_gadab0ec646f61cd37bdc79bb0fc948f79}\label{group__warning__constants_gadab0ec646f61cd37bdc79bb0fc948f79}} 
\index{Warning Constants@{Warning Constants}!WARN\_RETURN\_VALUE\_IGNORED@{WARN\_RETURN\_VALUE\_IGNORED}}
\index{WARN\_RETURN\_VALUE\_IGNORED@{WARN\_RETURN\_VALUE\_IGNORED}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_RETURN\_VALUE\_IGNORED}{WARN\_RETURN\_VALUE\_IGNORED}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+RETURN\+\_\+\+VALUE\+\_\+\+IGNORED = QP\+\_\+\+WARN\+\_\+\+RETURN\+\_\+\+VALUE\+\_\+\+IGNORED}



Enables a warning when a function or method call is made with no side effects and the return value is ignored. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_return-value-ignored}{return-\/value-\/ignored}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_ga597d58a31c59bc47bbecfe8160c57129}\label{group__warning__constants_ga597d58a31c59bc47bbecfe8160c57129}} 
\index{Warning Constants@{Warning Constants}!WARN\_UNDECLARED\_VAR@{WARN\_UNDECLARED\_VAR}}
\index{WARN\_UNDECLARED\_VAR@{WARN\_UNDECLARED\_VAR}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_UNDECLARED\_VAR}{WARN\_UNDECLARED\_VAR}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+UNDECLARED\+\_\+\+VAR = QP\+\_\+\+WARN\+\_\+\+UNDECLARED\+\_\+\+VAR}



Indicates that the embedded code referenced an undeclared variable that will be assumed to be a global variable. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_undeclared-var}{undeclared-\/var}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_ga82936dc7ad95c220a0b3635618bffea9}\label{group__warning__constants_ga82936dc7ad95c220a0b3635618bffea9}} 
\index{Warning Constants@{Warning Constants}!WARN\_UNKNOWN\_WARNING@{WARN\_UNKNOWN\_WARNING}}
\index{WARN\_UNKNOWN\_WARNING@{WARN\_UNKNOWN\_WARNING}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_UNKNOWN\_WARNING}{WARN\_UNKNOWN\_WARNING}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+UNKNOWN\+\_\+\+WARNING = QP\+\_\+\+WARN\+\_\+\+UNKNOWN\+\_\+\+WARNING}



Indicates that the embedded code tried to enable or disable an unknown warning. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_unknown-warning}{unknown-\/warning}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_ga677c5a9e0fdfb07d76c152999fffdc55}\label{group__warning__constants_ga677c5a9e0fdfb07d76c152999fffdc55}} 
\index{Warning Constants@{Warning Constants}!WARN\_UNREACHABLE\_CODE@{WARN\_UNREACHABLE\_CODE}}
\index{WARN\_UNREACHABLE\_CODE@{WARN\_UNREACHABLE\_CODE}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_UNREACHABLE\_CODE}{WARN\_UNREACHABLE\_CODE}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+UNREACHABLE\+\_\+\+CODE = QP\+\_\+\+WARN\+\_\+\+UNREACHABLE\+\_\+\+CODE}



Indicates that code cannot be reached (for example; code in the same local block after an unconditional \mbox{\hyperlink{statements_return}{return}} or \mbox{\hyperlink{statements_thread_exit}{thread\+\_\+exit}} statement) 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_unreachable-code}{unreachable-\/code}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_ga8e22cc8dbf206cc7512d89b88b6e2564}\label{group__warning__constants_ga8e22cc8dbf206cc7512d89b88b6e2564}} 
\index{Warning Constants@{Warning Constants}!WARN\_UNREFERENCED\_VARIABLE@{WARN\_UNREFERENCED\_VARIABLE}}
\index{WARN\_UNREFERENCED\_VARIABLE@{WARN\_UNREFERENCED\_VARIABLE}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_UNREFERENCED\_VARIABLE}{WARN\_UNREFERENCED\_VARIABLE}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+UNREFERENCED\+\_\+\+VARIABLE = QP\+\_\+\+WARN\+\_\+\+UNREFERENCED\+\_\+\+VARIABLE}



This warning is raised when a variable is declared in a block but never referenced. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_unreferenced-variable}{unreferenced-\/variable}} 
\end{DoxySeeAlso}
\mbox{\Hypertarget{group__warning__constants_ga2463b44ba4c7437bb45d9c9850bffd3e}\label{group__warning__constants_ga2463b44ba4c7437bb45d9c9850bffd3e}} 
\index{Warning Constants@{Warning Constants}!WARN\_WARNING\_MASK\_UNCHANGED@{WARN\_WARNING\_MASK\_UNCHANGED}}
\index{WARN\_WARNING\_MASK\_UNCHANGED@{WARN\_WARNING\_MASK\_UNCHANGED}!Warning Constants@{Warning Constants}}
\doxysubsubsection{\texorpdfstring{WARN\_WARNING\_MASK\_UNCHANGED}{WARN\_WARNING\_MASK\_UNCHANGED}}
{\footnotesize\ttfamily const Qore\+::\+WARN\+\_\+\+WARNING\+\_\+\+MASK\+\_\+\+UNCHANGED = QP\+\_\+\+WARN\+\_\+\+WARNING\+\_\+\+MASK\+\_\+\+UNCHANGED}



This warning means that the embedded code tried to change the warning mask, but it was locked, so the warning mask was actually unchanged. 

\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{warnings_warning-mask-unchanged}{warning-\/mask-\/unchanged}} 
\end{DoxySeeAlso}
