From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#26123: guile-2.2.0: AI_ADDRCONFIG Date: Wed, 19 Apr 2017 16:50:18 +0200 Message-ID: <87zifcladx.fsf@igalia.com> References: <20170316092918.4eh35k32ky4edya7@danbala> <20170317131145.HJ8BG.174715.root@cdptpa-web10> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492613559 26806 195.159.176.226 (19 Apr 2017 14:52:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2017 14:52:39 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 26123-done@debbugs.gnu.org To: Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Apr 19 16:52:32 2017 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0qy7-0006oC-Jh for guile-bugs@m.gmane.org; Wed, 19 Apr 2017 16:52:31 +0200 Original-Received: from localhost ([::1]:48599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0qyD-0004Cu-J4 for guile-bugs@m.gmane.org; Wed, 19 Apr 2017 10:52:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0qwl-000351-M6 for bug-guile@gnu.org; Wed, 19 Apr 2017 10:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0qwh-00055G-Qu for bug-guile@gnu.org; Wed, 19 Apr 2017 10:51:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58834) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0qwh-00054h-Jp for bug-guile@gnu.org; Wed, 19 Apr 2017 10:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0qwg-0002Df-8N for bug-guile@gnu.org; Wed, 19 Apr 2017 10:51:02 -0400 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Wed, 19 Apr 2017 14:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 26123 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 26123@debbugs.gnu.org, wingo@pobox.com, tk@giga.or.at Original-Received: via spool by 26123-done@debbugs.gnu.org id=D26123.14926134298483 (code D ref 26123); Wed, 19 Apr 2017 14:51:02 +0000 Original-Received: (at 26123-done) by debbugs.gnu.org; 19 Apr 2017 14:50:29 +0000 Original-Received: from localhost ([127.0.0.1]:57033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0qw9-0002Ck-Hu for submit@debbugs.gnu.org; Wed, 19 Apr 2017 10:50:29 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:57999 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0qw7-0002Cd-GK for 26123-done@debbugs.gnu.org; Wed, 19 Apr 2017 10:50:28 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 4AF6A81B76; Wed, 19 Apr 2017 10:50:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=kQpRH1/4cZ2PMUTjE7Qpx66vhWo=; b=QkaDxD UbM4XsOaiNANP141+1CNHSG/3ZawG+Z4DoSgOHrEBPfv6XqWbzChoa8VMRQmyG5P ypj3pgu1OG8UwYfZah4wO0aahWYBITlLR/tTMBnJa5xECQ76iMZfZfyMxA9CNf3N edVaBoPE5Cxx22BoMP39ucxoD7+HFjKL/XGDo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=ew2r69QqbZFA5Z+0rgFuOaRVRFbjT8zh AvJ+ilvF7cjiKHQ9hL/SywYKWdtNgc6yp2LubN9XwBV4RNIWSBj4zSlHcxqYOmHu dLJgO0mNPMfoDxa7A2QthVhn8ha56G8UAFtD7LT0+taYnIUNEOACUOMwC2pHEKyc lmfMGw+6+lk= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 4328E81B75; Wed, 19 Apr 2017 10:50:26 -0400 (EDT) Original-Received: from rusty (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 87F0581B74; Wed, 19 Apr 2017 10:50:25 -0400 (EDT) In-Reply-To: <20170317131145.HJ8BG.174715.root@cdptpa-web10> (dsmich@roadrunner.com's message of "Fri, 17 Mar 2017 9:11:45 -0400") X-Pobox-Relay-ID: 85C4BE70-250F-11E7-BF6B-07D2064AB293-02397024!pb-sasl1.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8752 Archived-At: On Fri 17 Mar 2017 14:11, writes: > ---- Thomas Klausner 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