]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: apply our -Wno-* options also in c++ calls 13989/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 10 Nov 2019 11:16:41 +0000 (12:16 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 12 Nov 2019 08:23:31 +0000 (09:23 +0100)
commite9f4f5667d18470da0e1b045d36ecebbacca0d96
treea13f7db15213b356e206ad0f2032db4c42d13354
parent827ca90986d755b008e0002f0cd80edfc7271659
meson: apply our -Wno-* options also in c++ calls

We compile some c++ code for tests. We would simply use the default options for
those. When the previous commit raised the default warning level, we started
getting warnings from c++ code. Let's add the most important options to the c++
command, so that we get a compilation without any warnings again.

I don't think it makes sense to add *all* the options that we add for c to the
c++ flags, because testing them takes quite a while, and the c++ compilations
are for small amounts of code, mostly to check that the headers have compatible
syntax.
meson.build