Re: [libvirt PATCH v2] meson: add -Wall and -Wextra explicitly

2020-09-03 Thread Daniel P . Berrangé
On Thu, Sep 03, 2020 at 02:08:06PM +0200, Pavel Hrdina wrote: > If someone runs `meson setup --buildtype plain` meson ignores > warning_level=2 that is in our meson.build file. The implication is > that Meson will not automatically add -Wall which enables -Wformat. > > This breaks building

[libvirt PATCH v2] meson: add -Wall and -Wextra explicitly

2020-09-03 Thread Pavel Hrdina
If someone runs `meson setup --buildtype plain` meson ignores warning_level=2 that is in our meson.build file. The implication is that Meson will not automatically add -Wall which enables -Wformat. This breaks building libvirt from git with the buildtype set to plain. There is an issue reported