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/main.cpp | |
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/main.cpp')
-rw-r--r-- | src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index cfd38ce..2f2fca5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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. * @@ -25,7 +25,7 @@ */ /*! Default main. The idea of separating this from the rest of doxygen, - * is to make it possible to write your own main, with a different + * is to make it possible to write your own main, with a different * generateOutput() function for instance. */ int main(int argc,char **argv) @@ -36,6 +36,6 @@ int main(int argc,char **argv) adjustConfiguration(); parseInput(); generateOutput(); - return 0; + return Doxygen::exitCode; } |