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

build: Disable -Wpedantic


We're using GLib, and GLib explicitly doesn't support pedantic Standard C
compilers: it assumes and requires the ability to cast between function
pointers and data pointers.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent dffdb703
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,7 @@ warning_cflags = [ ...@@ -79,6 +79,7 @@ warning_cflags = [
no_warning_cflags = [ no_warning_cflags = [
'declaration-after-statement', 'declaration-after-statement',
'missing-field-initializers', 'missing-field-initializers',
'pedantic',
'sign-compare', 'sign-compare',
'unused-parameter', 'unused-parameter',
] ]
......
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