GNU bug report logs -
#26123
guile-2.2.0: AI_ADDRCONFIG
Previous Next
Reported by: Thomas Klausner <tk <at> giga.or.at>
Date: Thu, 16 Mar 2017 09:30:02 UTC
Severity: normal
Done: Andy Wingo <wingo <at> pobox.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26123 in the body.
You can then email your comments to 26123 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#26123
; Package
guile
.
(Thu, 16 Mar 2017 09:30:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Thomas Klausner <tk <at> giga.or.at>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Thu, 16 Mar 2017 09:30:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi!
When compiling guile-2.2.0 on NetBSD_7.99.65/amd64, I see:
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.
Thomas
Information forwarded
to
bug-guile <at> gnu.org
:
bug#26123
; Package
guile
.
(Fri, 17 Mar 2017 13:12:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 26123 <at> debbugs.gnu.org (full text, mbox):
---- Thomas Klausner <tk <at> 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.
-Dale
Reply sent
to
Andy Wingo <wingo <at> pobox.com>
:
You have taken responsibility.
(Wed, 19 Apr 2017 14:51:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Thomas Klausner <tk <at> giga.or.at>
:
bug acknowledged by developer.
(Wed, 19 Apr 2017 14:51:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 26123-done <at> debbugs.gnu.org (full text, mbox):
On Fri 17 Mar 2017 14:11, <dsmich <at> roadrunner.com> writes:
> ---- Thomas Klausner <tk <at> 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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 18 May 2017 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 345 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.