Turning off -Werror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  commit 3c3c55be66e230ef09ad927eda038dc32f01a166
  Author: Daniel P. Berrangé <berrange@xxxxxxxxxx>
  Date:   Thu Apr 8 11:50:30 2021 +0100

    meson: don't probe for -Werror if --werror is enabled

Builds are failing in Fedora Rawhide at the moment because of a
warning being turned into an error.  Fedora's spec file has this which
is supposed to turn off -Werror, but it no longer works after the
above commit was added.

https://src.fedoraproject.org/rpms/libvirt/blob/rawhide/f/libvirt.spec#_189

I'm trying to understand how you're supposed to turn off -Werror.
According to meson documentation omitting --werror should work.
According to some different docs, use --werror=false.  Neither are
working for me.

I'm actually wondering if the commit above is wrong.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux