[Top][All Lists]

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

[Qemu-commits] [qemu/qemu] 8acc21: disas/libvixl: Suppress gcc 4.6.3 sig

From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 8acc21: disas/libvixl: Suppress gcc 4.6.3 sign-compare war...
Date: Tue, 12 Jan 2016 10:00:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 8acc216b956f30c140520c6c3aff5edcfde16ea6
  Author: Peter Maydell <address@hidden>
  Date:   2016-01-12 (Tue, 12 Jan 2016)

  Changed paths:
    M disas/Makefile.objs
    M disas/libvixl/Makefile.objs

  Log Message:
  disas/libvixl: Suppress gcc 4.6.3 sign-compare warnings

The VIXL code includes some equality comparisons between signed
and unsigned types. Modern gcc and clang do not complain about
these, but older versions of gcc such as gcc 4.6.3 do. Since
libvixl is an upstream library, the simplest approach is to
suppress the warnings by applying -Wno-sign-compare to the
relevant files.

(GCC 4.6 is not quite yet irrelevant for us; it is the gcc
shipped with Ubuntu Precise, for example, which is an LTS
release not yet out of its support period.)

Signed-off-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Reviewed-by: Alex Bennée <address@hidden>

reply via email to

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