Commit 30f66d10 authored by Carlos Garnacho's avatar Carlos Garnacho

Merge branch 'sam/warning-format-security' into 'master'

meson: Enable -Wformat-security

See merge request !22
parents bb081511 c900703c
Pipeline #40289 passed with stage
in 1 minute and 19 seconds
......@@ -118,6 +118,8 @@ if have_tracker_miner_rss
endif
endif
add_project_arguments('-Wformat', '-Wformat-security', language: 'c')
# There are various gchar vs. unsigned char warnings that occur in extract
# modules, it's not worth adding casts everywhere so we disable the warning.
add_project_arguments('-Wno-pointer-sign', language: 'c')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment