Skip to content
Snippets Groups Projects
Commit c6428d58 authored by Simon McVittie's avatar Simon McVittie
Browse files

build: Disable -Winline


As noted in pressure-vessel, if the compiler decides not to inline a
`static inline` function (type-safe macro-equivalent), that isn't
really a bug.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent f3a1c234
No related branches found
No related tags found
1 merge request!82Enable and squash compiler warnings
...@@ -66,7 +66,6 @@ warning_flags = [ ...@@ -66,7 +66,6 @@ warning_flags = [
'-Wformat-security', '-Wformat-security',
'-Wformat=2', '-Wformat=2',
'-Winit-self', '-Winit-self',
'-Winline',
'-Wlogical-op', '-Wlogical-op',
'-Wmissing-declarations', '-Wmissing-declarations',
'-Wmissing-format-attribute', '-Wmissing-format-attribute',
...@@ -98,6 +97,7 @@ warning_cxxflags = warning_flags + [ ...@@ -98,6 +97,7 @@ warning_cxxflags = warning_flags + [
] ]
no_warning_flags = [ no_warning_flags = [
'inline',
'missing-field-initializers', 'missing-field-initializers',
'pedantic', 'pedantic',
'sign-compare', 'sign-compare',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment