\hypertarget{group__warning__constants}{}\doxysection{Warning Constants}
\label{group__warning__constants}\index{Warning Constants@{Warning Constants}}


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*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__warning__constants_gaca379fa551c754f3c17c8646f0266d3c}\label{group__warning__constants_gaca379fa551c754f3c17c8646f0266d3c}} 
const \mbox{\hyperlink{group__warning__constants_gaca379fa551c754f3c17c8646f0266d3c}{Qore\+::\+W\+A\+R\+N\+\_\+\+A\+LL}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+A\+LL
\begin{DoxyCompactList}\small\item\em Enables all warnings. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga123728981ed0a5970536f94bcbcd88b1}{Qore\+::\+W\+A\+R\+N\+\_\+\+B\+R\+O\+K\+E\+N\+\_\+\+L\+O\+G\+I\+C\+\_\+\+P\+R\+E\+C\+E\+D\+E\+N\+CE}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+B\+R\+O\+K\+E\+N\+\_\+\+L\+O\+G\+I\+C\+\_\+\+P\+R\+E\+C\+E\+D\+E\+N\+CE
\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\+::\+W\+A\+R\+N\+\_\+\+C\+A\+L\+L\+\_\+\+W\+I\+T\+H\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+R\+R\+O\+RS}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+C\+A\+L\+L\+\_\+\+W\+I\+T\+H\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+R\+R\+O\+RS
\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\+::\+W\+A\+R\+N\+\_\+\+D\+E\+F\+A\+U\+LT}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+E\+F\+A\+U\+LT
\begin{DoxyCompactList}\small\item\em The default warning mask. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga9cc566b485af781c2399391757b5ed42}{Qore\+::\+W\+A\+R\+N\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED
\begin{DoxyCompactList}\small\item\em Enables a warning when deprecated code is used. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga664f2aba566e42b153dad3a0caf66a6b}{Qore\+::\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+B\+L\+O\+C\+K\+\_\+\+V\+A\+RS}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+B\+L\+O\+C\+K\+\_\+\+V\+A\+RS
\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\+::\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+G\+L\+O\+B\+A\+L\+\_\+\+V\+A\+RS}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+G\+L\+O\+B\+A\+L\+\_\+\+V\+A\+RS
\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\+::\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+H\+A\+S\+H\+\_\+\+K\+EY}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+H\+A\+S\+H\+\_\+\+K\+EY
\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\+::\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+L\+O\+C\+A\+L\+\_\+\+V\+A\+RS}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+L\+O\+C\+A\+L\+\_\+\+V\+A\+RS
\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\+::\+W\+A\+R\+N\+\_\+\+E\+X\+C\+E\+S\+S\+\_\+\+A\+R\+GS}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+E\+X\+C\+E\+S\+S\+\_\+\+A\+R\+GS
\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_gaac6499101e41bd5528237e2e8ddd8bf4}{Qore\+::\+W\+A\+R\+N\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON
\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\+::\+W\+A\+R\+N\+\_\+\+M\+O\+D\+U\+L\+ES}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+M\+O\+D\+U\+L\+ES
\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 \mbox{\hyperlink{group__warning__constants_ga5d8afd6e29d7ceba003d8869c2bbe5e1}{Qore\+::\+W\+A\+R\+N\+\_\+\+N\+O\+NE}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+N\+O\+NE
\begin{DoxyCompactList}\small\item\em Represents no warning. \end{DoxyCompactList}\item 
const \mbox{\hyperlink{group__warning__constants_ga257188e66b355163c9dedc161e722254}{Qore\+::\+W\+A\+R\+N\+\_\+\+N\+O\+N\+E\+X\+I\+S\+T\+E\+N\+T\+\_\+\+M\+E\+T\+H\+O\+D\+\_\+\+C\+A\+LL}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+N\+O\+N\+E\+X\+I\+S\+T\+E\+N\+T\+\_\+\+M\+E\+T\+H\+O\+D\+\_\+\+C\+A\+LL
\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\+::\+W\+A\+R\+N\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+A\+L\+U\+E\+\_\+\+I\+G\+N\+O\+R\+ED}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+A\+L\+U\+E\+\_\+\+I\+G\+N\+O\+R\+ED
\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\+::\+W\+A\+R\+N\+\_\+\+U\+N\+D\+E\+C\+L\+A\+R\+E\+D\+\_\+\+V\+AR}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+D\+E\+C\+L\+A\+R\+E\+D\+\_\+\+V\+AR
\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\+::\+W\+A\+R\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N\+\_\+\+W\+A\+R\+N\+I\+NG}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N\+\_\+\+W\+A\+R\+N\+I\+NG
\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\+::\+W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+A\+C\+H\+A\+B\+L\+E\+\_\+\+C\+O\+DE}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+A\+C\+H\+A\+B\+L\+E\+\_\+\+C\+O\+DE
\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\+::\+W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+V\+A\+R\+I\+A\+B\+LE}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+V\+A\+R\+I\+A\+B\+LE
\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\+::\+W\+A\+R\+N\+\_\+\+W\+A\+R\+N\+I\+N\+G\+\_\+\+M\+A\+S\+K\+\_\+\+U\+N\+C\+H\+A\+N\+G\+ED}} = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+W\+A\+R\+N\+I\+N\+G\+\_\+\+M\+A\+S\+K\+\_\+\+U\+N\+C\+H\+A\+N\+G\+ED
\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\+::\+W\+A\+R\+N\+\_\+\+B\+R\+O\+K\+E\+N\+\_\+\+L\+O\+G\+I\+C\+\_\+\+P\+R\+E\+C\+E\+D\+E\+N\+CE = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+B\+R\+O\+K\+E\+N\+\_\+\+L\+O\+G\+I\+C\+\_\+\+P\+R\+E\+C\+E\+D\+E\+N\+CE}



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\+::\+W\+A\+R\+N\+\_\+\+C\+A\+L\+L\+\_\+\+W\+I\+T\+H\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+R\+R\+O\+RS = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+C\+A\+L\+L\+\_\+\+W\+I\+T\+H\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+R\+R\+O\+RS}



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\+::\+W\+A\+R\+N\+\_\+\+D\+E\+F\+A\+U\+LT = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+E\+F\+A\+U\+LT}



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}{W\+A\+R\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N\+\_\+\+W\+A\+R\+N\+I\+NG}}
\item \mbox{\hyperlink{group__warning__constants_ga677c5a9e0fdfb07d76c152999fffdc55}{W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+A\+C\+H\+A\+B\+L\+E\+\_\+\+C\+O\+DE}}
\item \mbox{\hyperlink{group__warning__constants_ga257188e66b355163c9dedc161e722254}{W\+A\+R\+N\+\_\+\+N\+O\+N\+E\+X\+I\+S\+T\+E\+N\+T\+\_\+\+M\+E\+T\+H\+O\+D\+\_\+\+C\+A\+LL}}
\item \mbox{\hyperlink{group__warning__constants_gaac6499101e41bd5528237e2e8ddd8bf4}{W\+A\+R\+N\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON}}
\item \mbox{\hyperlink{group__warning__constants_ga01d5b544bf6b6b9a2f536170a0dec874}{W\+A\+R\+N\+\_\+\+C\+A\+L\+L\+\_\+\+W\+I\+T\+H\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+R\+R\+O\+RS}}
\item \mbox{\hyperlink{group__warning__constants_gadab0ec646f61cd37bdc79bb0fc948f79}{W\+A\+R\+N\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+A\+L\+U\+E\+\_\+\+I\+G\+N\+O\+R\+ED}}
\item \mbox{\hyperlink{group__warning__constants_ga9cc566b485af781c2399391757b5ed42}{W\+A\+R\+N\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}}
\item \mbox{\hyperlink{group__warning__constants_ga23066c3a05c2fe71f38ab685f1bf6b09}{W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+H\+A\+S\+H\+\_\+\+K\+EY}}
\item \mbox{\hyperlink{group__warning__constants_ga664f2aba566e42b153dad3a0caf66a6b}{W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+B\+L\+O\+C\+K\+\_\+\+V\+A\+RS}}
\item \mbox{\hyperlink{group__warning__constants_ga123728981ed0a5970536f94bcbcd88b1}{W\+A\+R\+N\+\_\+\+B\+R\+O\+K\+E\+N\+\_\+\+L\+O\+G\+I\+C\+\_\+\+P\+R\+E\+C\+E\+D\+E\+N\+CE}} 
\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\+::\+W\+A\+R\+N\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+E\+P\+R\+E\+C\+A\+T\+ED}



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\+::\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+B\+L\+O\+C\+K\+\_\+\+V\+A\+RS = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+B\+L\+O\+C\+K\+\_\+\+V\+A\+RS}



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\+::\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+G\+L\+O\+B\+A\+L\+\_\+\+V\+A\+RS = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+G\+L\+O\+B\+A\+L\+\_\+\+V\+A\+RS}



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\+::\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+H\+A\+S\+H\+\_\+\+K\+EY = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+H\+A\+S\+H\+\_\+\+K\+EY}



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\+::\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+L\+O\+C\+A\+L\+\_\+\+V\+A\+RS = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+L\+O\+C\+A\+L\+\_\+\+V\+A\+RS}



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}{W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+B\+L\+O\+C\+K\+\_\+\+V\+A\+RS}} 
\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\+::\+W\+A\+R\+N\+\_\+\+E\+X\+C\+E\+S\+S\+\_\+\+A\+R\+GS = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+E\+X\+C\+E\+S\+S\+\_\+\+A\+R\+GS}



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_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\+::\+W\+A\+R\+N\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON}



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\+::\+W\+A\+R\+N\+\_\+\+M\+O\+D\+U\+L\+ES = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+M\+O\+D\+U\+L\+ES}



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}{W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+A\+C\+H\+A\+B\+L\+E\+\_\+\+C\+O\+DE}}
\item \mbox{\hyperlink{group__warning__constants_ga257188e66b355163c9dedc161e722254}{W\+A\+R\+N\+\_\+\+N\+O\+N\+E\+X\+I\+S\+T\+E\+N\+T\+\_\+\+M\+E\+T\+H\+O\+D\+\_\+\+C\+A\+LL}}
\item \mbox{\hyperlink{group__warning__constants_gaac6499101e41bd5528237e2e8ddd8bf4}{W\+A\+R\+N\+\_\+\+I\+N\+V\+A\+L\+I\+D\+\_\+\+O\+P\+E\+R\+A\+T\+I\+ON}}
\item \mbox{\hyperlink{group__warning__constants_ga01d5b544bf6b6b9a2f536170a0dec874}{W\+A\+R\+N\+\_\+\+C\+A\+L\+L\+\_\+\+W\+I\+T\+H\+\_\+\+T\+Y\+P\+E\+\_\+\+E\+R\+R\+O\+RS}}
\item \mbox{\hyperlink{group__warning__constants_gadab0ec646f61cd37bdc79bb0fc948f79}{W\+A\+R\+N\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+A\+L\+U\+E\+\_\+\+I\+G\+N\+O\+R\+ED}}
\item \mbox{\hyperlink{group__warning__constants_ga23066c3a05c2fe71f38ab685f1bf6b09}{W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+H\+A\+S\+H\+\_\+\+K\+EY}}
\item \mbox{\hyperlink{group__warning__constants_ga664f2aba566e42b153dad3a0caf66a6b}{W\+A\+R\+N\+\_\+\+D\+U\+P\+L\+I\+C\+A\+T\+E\+\_\+\+B\+L\+O\+C\+K\+\_\+\+V\+A\+RS}}
\item \mbox{\hyperlink{group__warning__constants_ga123728981ed0a5970536f94bcbcd88b1}{W\+A\+R\+N\+\_\+\+B\+R\+O\+K\+E\+N\+\_\+\+L\+O\+G\+I\+C\+\_\+\+P\+R\+E\+C\+E\+D\+E\+N\+CE}} 
\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\+::\+W\+A\+R\+N\+\_\+\+N\+O\+N\+E\+X\+I\+S\+T\+E\+N\+T\+\_\+\+M\+E\+T\+H\+O\+D\+\_\+\+C\+A\+LL = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+N\+O\+N\+E\+X\+I\+S\+T\+E\+N\+T\+\_\+\+M\+E\+T\+H\+O\+D\+\_\+\+C\+A\+LL}



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$<$$>$ 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\+::\+W\+A\+R\+N\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+A\+L\+U\+E\+\_\+\+I\+G\+N\+O\+R\+ED = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+V\+A\+L\+U\+E\+\_\+\+I\+G\+N\+O\+R\+ED}



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\+::\+W\+A\+R\+N\+\_\+\+U\+N\+D\+E\+C\+L\+A\+R\+E\+D\+\_\+\+V\+AR = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+D\+E\+C\+L\+A\+R\+E\+D\+\_\+\+V\+AR}



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\+::\+W\+A\+R\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N\+\_\+\+W\+A\+R\+N\+I\+NG = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+K\+N\+O\+W\+N\+\_\+\+W\+A\+R\+N\+I\+NG}



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\+::\+W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+A\+C\+H\+A\+B\+L\+E\+\_\+\+C\+O\+DE = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+A\+C\+H\+A\+B\+L\+E\+\_\+\+C\+O\+DE}



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\+::\+W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+V\+A\+R\+I\+A\+B\+LE = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+U\+N\+R\+E\+F\+E\+R\+E\+N\+C\+E\+D\+\_\+\+V\+A\+R\+I\+A\+B\+LE}



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\+::\+W\+A\+R\+N\+\_\+\+W\+A\+R\+N\+I\+N\+G\+\_\+\+M\+A\+S\+K\+\_\+\+U\+N\+C\+H\+A\+N\+G\+ED = Q\+P\+\_\+\+W\+A\+R\+N\+\_\+\+W\+A\+R\+N\+I\+N\+G\+\_\+\+M\+A\+S\+K\+\_\+\+U\+N\+C\+H\+A\+N\+G\+ED}



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}
