]> Git Repo - qemu.git/commit - include/qemu/compiler.h
qemu/compiler: Wrap __attribute__((flatten)) in a macro
authorThomas Huth <[email protected]>
Wed, 26 Sep 2018 15:48:50 +0000 (17:48 +0200)
committerThomas Huth <[email protected]>
Wed, 17 Oct 2018 06:36:28 +0000 (08:36 +0200)
commit97ff87c0ed020c2a4b931146e142d67abe852e22
treeaa5c5de9ce476031ff56e27213f2cde13e769c09
parent957e8b34920a1404a1318b2e1ffa0726d40e0a9b
qemu/compiler: Wrap __attribute__((flatten)) in a macro

Older versions of Clang (before 3.5) and GCC (before 4.1) do not
support the "__attribute__((flatten))" yet. We don't care about
such old versions of GCC anymore, but since Clang 3.4 is still
used in EPEL for RHEL7 / CentOS 7, we should not use this attribute
directly but with a wrapper macro instead.

Reviewed-by: Alex BennĂ©e <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Thomas Huth <[email protected]>
fpu/softfloat.c
include/qemu/compiler.h
This page took 0.02532 seconds and 4 git commands to generate.