On Fri 17 Mar 2017 14:11, <dsm...@roadrunner.com> writes:

> ---- Thomas Klausner <t...@giga.or.at> 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