cflags not propagated to test, testuite, demos, examples, ...
We assemble a long list of cflags with various warnings in the toplevel meson.build
file and save them in a variable called common_cflags
.
And then we don't use it for tests, demos, testsuite, examples, etc. Which is bad.
Unfortunately both gtk4-demo and testsuite/gtk/ do some magic by extractung function declarations (the do_*
stuff in gtk4-demo) so we can't just mark them as static
. Which makes this fairly difficult.
Enabling them for the tests finds a few serious problems.
Edited by Timm Bäder