mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
Merge pull request #21358 from maribu/build_system/warn-about-broken-doc
buildsystem: Enable -Wdocumentation for LLVM
This commit is contained in:
commit
eb56a566c6
@ -40,6 +40,7 @@ CFLAGS += -Wstrict-overflow
|
||||
# Worse yet they hide errors by accepting wildcard argument types.
|
||||
OPTIONAL_CFLAGS += -Wstrict-prototypes
|
||||
OPTIONAL_CFLAGS += -Wold-style-definition
|
||||
OPTIONAL_CFLAGS += -Wdocumentation -Wno-error=documentation -Wno-documentation-deprecated-sync
|
||||
|
||||
# Unwanted flags for c++
|
||||
CXXUWFLAGS += -std=%
|
||||
|
||||
@ -30,6 +30,9 @@ ifneq (8, $(firstword $(shell echo 8 $(GCC_VERSION) | tr ' ' '\n' | sort -n)))
|
||||
OPTIONAL_CFLAGS_BLACKLIST += -fmacro-prefix-map=$(RIOTBASE)/=
|
||||
endif
|
||||
|
||||
# GCC does not warn about documentation (yet)
|
||||
OPTIONAL_CFLAGS_BLACKLIST += -Wdocumentation -Wno-error=documentation -Wno-documentation-deprecated-sync
|
||||
|
||||
# We use GDB for debugging
|
||||
include $(RIOTMAKE)/tools/gdb.inc.mk
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user