[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile failure with commit edd89894
From: |
Patrick McCarty |
Subject: |
Re: Compile failure with commit edd89894 |
Date: |
Mon, 11 Oct 2010 18:59:32 -0700 |
On Mon, Oct 11, 2010 at 6:54 PM, Graham Percival
<address@hidden> wrote:
> On Tue, Oct 12, 2010 at 2:30 AM, Patrick McCarty <address@hidden> wrote:
>> With GCC 4.5.1, I'm seeing a compile failure with latest git.
>> Reverting your commit edd89894 fixes it. Here's the error:
>>
>> context-def.cc: In static member function 'static scm_unused_struct*
>> Context_def::mark_smob(scm_unused_struct*)':
>> context-def.cc:118:1: error: expected 'while' before 'Context_def'
>
> ???
> There's definitely a "while" in the macro defintion. Unless gcc 4.5
> doesn't honour \ symbols in macro definitions?
>
> Or might it be unhappy with the
> do { }
> part? (should it be "do { ; }" ?)
>
> If nothing spots anything before tomorrow, I'll compile gcc 4.5 and
> see what I can do.
Sorry for the noise. I just figured it out and pushed a fix.
Thanks,
Patrick