Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Sep 2008 10:27:40 -0500
From:      Anthony Liguori <anthony@codemonkey.ws>
To:        qemu-devel@nongnu.org, freebsd-emulation@freebsd.org
Subject:   Re: [Qemu-devel] [PATCH] preprocessor issue in qemu/patch-block-raw-posix.c
Message-ID:  <48DE50EC.4090003@codemonkey.ws>
In-Reply-To: <20080926212925.GA10666@saturn.kn-bremen.de>
References:  <20080921204025.GA81055@saturn.kn-bremen.de> <200809242210.m8OMAcSZ021572@saturn.kn-bremen.de> <20080925201703.GA12142@saturn.kn-bremen.de> <48DBF71E.1000405@codemonkey.ws> <20080926212925.GA10666@saturn.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help

Juergen Lock wrote:
> On Thu, Sep 25, 2008 at 03:39:58PM -0500, Anthony Liguori wrote:
>   
>> Juergen Lock wrote:
>>     
>>> I forgot to note that this also needed the following patch:
>>>   
>>>       
>> Why?  This #ifdef is working around a very specific bug.
>>
>>     
> Well, looks like the preprocessor tries to parse the entire expression
> including the undefined `!__GLIBC_PREREQ(2, 4)' before evaluating it:
>
> block-raw-posix.c:548:69: missing binary operator before token "("
>
> so I just put it on an extra line.
>   

It's fixed in SVN now.

Regards,

Anthony Liguori




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48DE50EC.4090003>