mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user