[Top][All Lists]

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

[Qemu-devel] [PATCH v5 0/4] configure: clang 3.5.0 build fixes

From: John Snow
Subject: [Qemu-devel] [PATCH v5 0/4] configure: clang 3.5.0 build fixes
Date: Wed, 25 Mar 2015 18:57:35 -0400

QEMU does not compile cleanly under clang 3.5.0.  These patches eliminate the
avalanche of warnings and make the build usable.

The result is that you *should* be able to use clang 3.5.0 *with* ccache and
-Werror and produce all targets.

Regrettably, this is v5 because I overlooked deleting "--keep-tmpc" in the
previous version. Sorry mom, I let the homestead down. We'll be eating dirt
this winter. I can always go to the city for work, please don't cry.

- Enable ccache workaround for configurations without -Werror,
  to suppress warnings as well.
- Removed optimization from cc_has_warning_flag()
- Renamed ccache variable to ccache_cpp2

John Snow (3):
  configure: factor out supported flag check
  configure: silence glib unknown attribute __alloc_size__
  configure: Add workaround for ccache and clang

Stefan Hajnoczi (1):
  configure: handle clang -nopie argument warning

 configure | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 65 insertions(+), 16 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]