diff options
author | Gautier Pelloux-Prayer <gautier.pelloux-prayer@belledonne-communications.com> | 2015-11-18 13:06:51 (GMT) |
---|---|---|
committer | Gautier Pelloux-Prayer <gautier+git@damsy.net> | 2015-12-16 20:45:17 (GMT) |
commit | 38277f1da56c212c9b33f774de412edef1156544 (patch) | |
tree | a9e2f654c258f2197c1954524399f0f48d2745d5 /src/doxygen.h | |
parent | 9be0e3be46026d33159c341bd16347359706ae25 (diff) | |
download | Doxygen-38277f1da56c212c9b33f774de412edef1156544.zip Doxygen-38277f1da56c212c9b33f774de412edef1156544.tar.gz Doxygen-38277f1da56c212c9b33f774de412edef1156544.tar.bz2 |
Add WARN_AS_ERROR option to stop execution at first warning (equivalent of compilers' -Werror option)
Diffstat (limited to 'src/doxygen.h')
-rw-r--r-- | src/doxygen.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/doxygen.h b/src/doxygen.h index 0d38d5b..67acd9e 100644 --- a/src/doxygen.h +++ b/src/doxygen.h @@ -1,13 +1,13 @@ /****************************************************************************** * - * + * * * * Copyright (C) 1997-2015 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its - * documentation under the terms of the GNU General Public License is hereby - * granted. No representations are made about the suitability of this software + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * @@ -71,7 +71,7 @@ typedef QListIterator<QCString> StringListIterator; class StringDict : public QDict<QCString> { - public: + public: StringDict(uint size=17) : QDict<QCString>(size) {} virtual ~StringDict() {} }; @@ -79,7 +79,7 @@ class StringDict : public QDict<QCString> struct LookupInfo { LookupInfo() : classDef(0), typeDef(0) {} - LookupInfo(ClassDef *cd,MemberDef *td,QCString ts,QCString rt) + LookupInfo(ClassDef *cd,MemberDef *td,QCString ts,QCString rt) : classDef(cd), typeDef(td), templSpec(ts),resolvedType(rt) {} ClassDef *classDef; MemberDef *typeDef; @@ -121,8 +121,8 @@ class Doxygen static FormulaList *formulaList; static FormulaDict *formulaDict; static FormulaDict *formulaNameDict; - static StringDict tagDestinationDict; - static StringDict aliasDict; + static StringDict tagDestinationDict; + static StringDict aliasDict; static QIntDict<MemberGroupInfo> memGrpInfoDict; static QDict<void> expandAsDefinedDict; static NamespaceDef *globalScope; @@ -152,6 +152,7 @@ class Doxygen static bool generatingXmlOutput; static bool markdownSupport; static GenericsSDict *genericsDict; + static int exitCode; }; void initDoxygen(); |