[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing fail
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests |
Date: |
Sat, 28 Jul 2012 14:48:21 +0100 |
On 28 July 2012 13:31, Blue Swirl <address@hidden> wrote:
> I'm getting this error, probably because now Valgrind support is enabled:
> CC coroutine-ucontext.o
> cc1: warnings being treated as errors
> /src/qemu/coroutine-ucontext.c:204: error: unknown option after
> '#pragma GCC diagnostic' kind
> /src/qemu/coroutine-ucontext.c:209: error: unknown option after
> '#pragma GCC diagnostic' kind
>
> Maybe the compiler does not understand this pragma and Valgrind check
> should also fail in that case.
Yeah, I think this is one of the few tests which want to explicitly
check "is this construct going to provoke a compiler warning" --
fix is for that test to explictly put -Werror in the cflags in
the compile_prog line.
-- PMM
- [Qemu-devel] [PATCH 10/11] configure: -I\$(SRC_PATH) goes in QEMU_INCLUDES not QEMU_CFLAGS, (continued)
- [Qemu-devel] [PATCH 10/11] configure: -I\$(SRC_PATH) goes in QEMU_INCLUDES not QEMU_CFLAGS, Peter Maydell, 2012/07/18
- [Qemu-devel] [PATCH 02/11] configure: Fix build with ALSA audio driver, Peter Maydell, 2012/07/18
- [Qemu-devel] [PATCH 03/11] configure: Fix build with capabilities, Peter Maydell, 2012/07/18
- [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Peter Maydell, 2012/07/18
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Blue Swirl, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Peter Maydell, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Blue Swirl, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Peter Maydell, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Blue Swirl, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests, Blue Swirl, 2012/07/28
- Re: [Qemu-devel] [PATCH 11/11] configure: Check for -Werror causing failures when compiling tests,
Peter Maydell <=
[Qemu-devel] [PATCH 05/11] configure: -march=i486 belongs in QEMU_CFLAGS, not CFLAGS, Peter Maydell, 2012/07/18
[Qemu-devel] [PATCH 04/11] configure: Replace bash code by standard shell code, Peter Maydell, 2012/07/18
[Qemu-devel] [PATCH 07/11] configure: Fix compile warning in PNG test, Peter Maydell, 2012/07/18
[Qemu-devel] [PATCH 06/11] configure: Fix errors in test for__sync_fetch_and_and, Peter Maydell, 2012/07/18
[Qemu-devel] [PATCH 08/11] configure: Fix warnings in VDE library probe, Peter Maydell, 2012/07/18
Re: [Qemu-devel] [PATCH 00/11] configure: Fix -Werror issues, Blue Swirl, 2012/07/31