[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: RFC: fix for random Qemu crashes
From: |
Ben Pfaff |
Subject: |
[Qemu-devel] Re: RFC: fix for random Qemu crashes |
Date: |
Fri, 16 Nov 2007 18:58:45 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
"J. Mayer" <address@hidden> writes:
> On Fri, 2007-11-16 at 21:32 +0100, andrzej zaborowski wrote:
>> I think a line like
>>
>> #define inline __attribute__ (( always_inline )) inline
>>
>> in dyngen-exec.h should be
>
> As I already pointed it in the first message of the thread, this kind of
> define would expand recursivelly, [...]
No. A macro is not expanded within its own expansion. See ISO
C99:
6.10.3.4 Rescanning and further replacement
[...]
2 If the name of the macro being replaced is found during this
scan of the replacement list (not including the rest of the
source file's preprocessing tokens), it is not replaced.
If it still bothers you, you could write it as
#define inline __attribute__ (( always_inline )) __inline__
since GCC accepts __inline__ as a synonym for inline.
--
Ben Pfaff
http://benpfaff.org
- Re: [Qemu-devel] RFC: fix for random Qemu crashes, (continued)
- Re: [Qemu-devel] RFC: fix for random Qemu crashes, Heikki Lindholm, 2007/11/16
- Re: [Qemu-devel] RFC: fix for random Qemu crashes, Paul Brook, 2007/11/16
- Re: [Qemu-devel] RFC: fix for random Qemu crashes, Jocelyn Mayer, 2007/11/16
- Re: [Qemu-devel] RFC: fix for random Qemu crashes, andrzej zaborowski, 2007/11/16
- Re: [Qemu-devel] RFC: fix for random Qemu crashes, J. Mayer, 2007/11/16
- [Qemu-devel] Re: RFC: fix for random Qemu crashes,
Ben Pfaff <=
- Re: [Qemu-devel] Re: RFC: fix for random Qemu crashes, J. Mayer, 2007/11/17
- Re: [Qemu-devel] RFC: fix for random Qemu crashes, andrzej zaborowski, 2007/11/17
- Re: [Qemu-devel] RFC: fix for random Qemu crashes, J. Mayer, 2007/11/17