diff options
author | Guillem Jover <guillem@debian.org> | 2018-03-25 01:21:01 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2018-03-25 05:45:47 +0200 |
commit | 9fb2b44c59e409bf5541d77fd31c961ef1d01265 (patch) | |
tree | 060786578bc672ef2da68b4e48def58e5e5ee715 /m4/dpkg-compiler.m4 | |
parent | 2f8793d09cbe9c20bd62259c6361119aecf73105 (diff) | |
download | dpkg-9fb2b44c59e409bf5541d77fd31c961ef1d01265.tar.gz |
build: Enable clang -Wdocumentation warning if available
Fix a couple of function parameter typos surfaced by the new warning.
Warned-by: clang
Diffstat (limited to 'm4/dpkg-compiler.m4')
-rw-r--r-- | m4/dpkg-compiler.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/dpkg-compiler.m4 b/m4/dpkg-compiler.m4 index 1f9653f59..555cc3787 100644 --- a/m4/dpkg-compiler.m4 +++ b/m4/dpkg-compiler.m4 @@ -47,6 +47,7 @@ AC_DEFUN([DPKG_CHECK_COMPILER_WARNINGS], [ DPKG_CHECK_COMPILER_FLAG([-Wextra]) DPKG_CHECK_COMPILER_FLAG([-Wcast-align]) + DPKG_CHECK_COMPILER_FLAG([-Wdocumentation]) DPKG_CHECK_COMPILER_FLAG([-Wduplicated-cond]) DPKG_CHECK_COMPILER_FLAG([-Wformat -Wformat-security]) DPKG_CHECK_COMPILER_FLAG([-Winit-self]) |