[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26123: guile-2.2.0: AI_ADDRCONFIG
From: |
dsmich |
Subject: |
bug#26123: guile-2.2.0: AI_ADDRCONFIG |
Date: |
Fri, 17 Mar 2017 9:11:45 -0400 |
---- 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.
-Dale