build: fail the build if we accidentally drop a "const" qualifier on a parameter

let's be strict here, our codebase allows it.
This commit is contained in:
Lennart Poettering
2025-01-17 14:47:34 +01:00
parent c66a7ca6e5
commit 81cf3dc466

View File

@@ -377,6 +377,7 @@ possible_common_cc_flags = [
'-Warray-bounds=2',
'-Wdate-time',
'-Wendif-labels',
'-Werror=discarded-qualifiers',
'-Werror=format=2',
'-Werror=format-signedness',
'-Werror=implicit-function-declaration',