Skip to content
Snippets Groups Projects
Verified Commit ca65ac93 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

meson: turn implicit-function warnings into hard errors

I just saw a case with bad luajit includes that linked successfully even
with some of the macros getting this warning.
parent 20cfc255
Branches
Tags
1 merge request!952compiler warning improvements
......@@ -115,6 +115,7 @@ add_project_arguments(
'-Wformat-security',
'-Wtype-limits',
'-Wshadow',
'-Werror=implicit-function-declaration', # Probably messed up includes; implicit functions are evil!
'-fvisibility=hidden',
'-DHAVE_ASPRINTF=' + have_asprintf.to_int().to_string(),
language: 'c',
......
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