[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling v1.8.5 on tru64 5.1b
From: |
Neil Jerram |
Subject: |
Re: Compiling v1.8.5 on tru64 5.1b |
Date: |
Wed, 14 May 2008 08:01:06 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> Hi,
>
> Neil Jerram <address@hidden> writes:
>
>> --- a/libguile/ChangeLog
>> +++ b/libguile/ChangeLog
>> @@ -1,3 +1,9 @@
>> +2008-05-12 Neil Jerram <address@hidden>
>> +
>> + * discouraged.c: Expand DEFFROM and DEFTO macros, to avoid
>> + compiler warnings about excess semicolons. (Reported by Didier
>> + Godefroy.)
>
> Why didn't you just remove the trailing semicolons? :-)
Because that messes up Emacs's C mode indentation.
I agree that that's an Emacs bug - as opposed to a bug with the code
as it was - but in the end I thought "hey, this is discouraged code,
so probably no one will ever touch it again, so does it really matter
whether we keep those DEFFROM and DEFTO macros or not?"
I spent a little time first, looking for a way of customizing
C mode to make it think that DEFFROM and DEFTO are always top-level;
but couldn't find one.
Regards,
Neil