[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 03/14] disas/arm-a64.cc: Include osdep.h first
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 03/14] disas/arm-a64.cc: Include osdep.h first |
Date: |
Thu, 18 Feb 2016 16:42:33 +0000 |
On 18 February 2016 at 16:41, Markus Armbruster <address@hidden> wrote:
> Peter Maydell <address@hidden> writes:
>> What's the best way to deal with this? I can see a couple of options:
>>
>> (1) as a special case, for this file include disasm-a64.h before
>> osdep.h
>> (2) as a special case, for this file manually define the __STDC_*
>> before including osdep.h
>> (3) make osdep.h itself define the __STDC_* constants so it works
>> with C++-before-C++11 as well as with C and with C++11
>
> (4) Tell old mingw32 to take a hike :)
I suspect it is not the only pre-C++11 compiler people in the
wild will be using, though...
thanks
-- PMM
- [Qemu-devel] [PATCH 00/14] More #include cleanups, Peter Maydell, 2016/02/09
- [Qemu-devel] [PATCH 07/14] libdecnumber: Clean up includes, Peter Maydell, 2016/02/09
- [Qemu-devel] [PATCH 13/14] all: Clean up includes, Peter Maydell, 2016/02/09
- [Qemu-devel] [PATCH 12/14] scripts/tracetool: Include qemu/osdep.h in generated .c files, Peter Maydell, 2016/02/09
- [Qemu-devel] [PATCH 14/14] oslib-posix.c: Move workaround for OSX daemon() deprecation to osdep.h, Peter Maydell, 2016/02/09
- [Qemu-devel] [PATCH 04/14] hw/block/nand.c: Include osdep.h first, Peter Maydell, 2016/02/09
- [Qemu-devel] [PATCH 02/14] ui/cocoa.m: Include qemu/osdep.h, Peter Maydell, 2016/02/09
- [Qemu-devel] [PATCH 05/14] target-cris: Remove unnecessary ifdef from mmu.c, Peter Maydell, 2016/02/09