bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26123: guile-2.2.0: AI_ADDRCONFIG


From: Andy Wingo
Subject: bug#26123: guile-2.2.0: AI_ADDRCONFIG
Date: Wed, 19 Apr 2017 16:50:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

On Fri 17 Mar 2017 14:11, <address@hidden> writes:

> ---- Thomas Klausner <address@hidden> wrote: 
>> 
>>   SNARF  net_db.doc
>> net_db.c:468:***Missing or erroneous `#define FUNC_NAME s_AI_ADDRCONFIG);'
>> net_db.c:488:***Missing or erroneous #undef for AI_ADDRCONFIG);:
>> 
>> Compilation continues even though this looks like an error.
>
> Yeah,  while annoying, this is harmless.
>
> The proper fix in my opinion is to limit the regular expression on line
> 28 in libguile/guile-func-name-check to only match function definition
> macros.  Currently, it matches other macros that define things other
> than functions, and so erroneously looks for a function body.
>
> For example, adding a space like /^SCM_DEFINE / would probably be 
> appropriate.  However, that would prevent it from matching any other function 
> defining macros, if they exist.

Good idea, done.  Thanks :)

ANdy





reply via email to

[Prev in Thread] Current Thread [Next in Thread]