[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] ea066d: hw/arm/aspeed: Fix build issue with c
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] ea066d: hw/arm/aspeed: Fix build issue with clang 3.4 |
Date: |
Wed, 28 Nov 2018 07:31:51 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: ea066d39acbcfe4fcfb4807316ab3ada03218fcc
https://github.com/qemu/qemu/commit/ea066d39acbcfe4fcfb4807316ab3ada03218fcc
Author: Thomas Huth <address@hidden>
Date: 2018-11-28 (Wed, 28 Nov 2018)
Changed paths:
M hw/arm/aspeed.c
Log Message:
-----------
hw/arm/aspeed: Fix build issue with clang 3.4
When using clang 3.4.2, compilation of QEMU fails like this:
CC aarch64-softmmu/hw/arm/aspeed.o
hw/arm/aspeed.c:36:3: error: redefinition of typedef 'AspeedBoardState' is a C11
feature [-Werror,-Wtypedef-redefinition]
} AspeedBoardState;
^
include/hw/arm/aspeed.h:14:33: note: previous definition is here
typedef struct AspeedBoardState AspeedBoardState;
^
1 error generated.
make[1]: *** [hw/arm/aspeed.o] Error 1
make: *** [subdir-aarch64-softmmu] Error 2
Remove the duplicated typedef to fix this issue.
Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: Cédric Le Goater <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: 3f2f3b33dba346ff5c2b400e324c109218e84973
https://github.com/qemu/qemu/commit/3f2f3b33dba346ff5c2b400e324c109218e84973
Author: Thomas Huth <address@hidden>
Date: 2018-11-28 (Wed, 28 Nov 2018)
Changed paths:
M target/arm/sve_helper.c
Log Message:
-----------
target/arm/sve_helper: Fix compilation with clang 3.4
Clang 3.4 does not know the "flatten" attribute yet. We've already
introduced the QEMU_FLATTEN macro for this in commit 97ff87c0ed020c2,
so use this macro now here, too, to fix this issue.
Signed-off-by: Thomas Huth <address@hidden>
Message-id: address@hidden
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/c56606684ad2...3f2f3b33dba3
**NOTE:** This service has been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] ea066d: hw/arm/aspeed: Fix build issue with clang 3.4,
GitHub <=