From 5e06397269289ae3cb17165f1c58c230ac585b96 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Fri, 21 May 2021 15:50:23 +0200 Subject: [PATCH] doc: doxygen: treat warnings as errors Treat warnings as errors. Since we already disable warnings for undocumented members (the major source of warnings), reported warnings are in all cases real problems that should be fixed. Signed-off-by: Gerard Marull-Paretas --- doc/zephyr.doxyfile.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/zephyr.doxyfile.in b/doc/zephyr.doxyfile.in index ab13db51c2d..b940d943220 100644 --- a/doc/zephyr.doxyfile.in +++ b/doc/zephyr.doxyfile.in @@ -726,6 +726,12 @@ WARN_IF_DOC_ERROR = YES WARN_NO_PARAMDOC = NO +# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when +# a warning is encountered. +# The default value is: NO. + +WARN_AS_ERROR = YES + # The WARN_FORMAT tag determines the format of the warning messages that doxygen # can produce. The string should contain the $file, $line, and $text tags, which # will be replaced by the file and line number from which the warning originated