[PATCH 0/6] Ensure clean compile with clang

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

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

There are various problems building libvirt with clang,
which mostly revolve around compiler warning handling.
This series fixes all the problems I see with clang
3.2 on a Fedora 19 x86_64 host.

Daniel P. Berrange (6):
  Ensure consistent enablement of gcc 'diagnostic' pragma
  Workaround issue with clang and inline functions with static vars
  Ignore cast alignment warnings in inotify code for Xen.
  Correctly detect warning flags with clang
  Only pass -export-dynamic to linker, not compiler
  Don't duplicate compiler warning flags when linking

 configure.ac                |  4 ++--
 daemon/Makefile.am          |  1 -
 m4/virt-compile-warnings.m4 | 29 +++++++++++++++++++++++++----
 src/Makefile.am             | 11 +++--------
 src/internal.h              |  2 +-
 src/xen/xen_inotify.c       |  3 +++
 tests/vircgroupmock.c       |  7 ++++++-
 tools/Makefile.am           |  4 +---
 8 files changed, 41 insertions(+), 20 deletions(-)

-- 
1.8.2.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[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]