From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hannes =?UTF-8?Q?M=C3=BCller?= via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" Newsgroups: gmane.lisp.guile.bugs Subject: bug#75085: bug report with patch 0004-libguile-scm.h-fix-BUILDING_LIBGUILE-for-Werror-unde.patch Date: Wed, 25 Dec 2024 12:54:54 +0000 Message-ID: Reply-To: Hannes =?UTF-8?Q?M=C3=BCller?= Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=rehcsed-495a1569-d40d-4375-a7a5-9510a8989149 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5403"; mail-complaints-to="usenet@ciao.gmane.io" To: 75085@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Dec 25 13:56:15 2024 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tQQvu-0001DN-Gv for guile-bugs@m.gmane-mx.org; Wed, 25 Dec 2024 13:56:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQQvk-0000x2-KR; Wed, 25 Dec 2024 07:56:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQQvj-0000wj-By for bug-guile@gnu.org; Wed, 25 Dec 2024 07:56:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tQQvj-00065T-3Q for bug-guile@gnu.org; Wed, 25 Dec 2024 07:56:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:MIME-Version:To:Subject; bh=X8eJjFOqbrmeCv1kibfEdfoZo39d0mzCeOYRKFNprFk=; b=BTxMmn2uKwZXE7t6GN5tlok4Ufyr6kYJeLgWj5CuXGnHziKzDalhFKeTkWSdEifbP1azbiOAH1QChmdC4/NLef0Uz+r1wf+YC3xK3C1uNwM426XW5KtX4C3hdat9kB9gxzEIrg7ncPz6dLk8Cq9kKZjkx1OfQbHRZweyxdMOACuRfJfcUGXyMX9tBY4c1RfG734JBzPlpVo8kDkEhMdyCYu6S0epBSjTsYDBKLrIinE+FrSa407bqx+mUIjRSSKZANlmh/XUq55GM9V+ljjDXr9jI3409DGaWeGsKq5gvL3bdIT+IK95kFS+OjaOs+agbhzjoLYVKGgwL7CF8Y5ZDg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQQvi-0002sE-Jf for bug-guile@gnu.org; Wed, 25 Dec 2024 07:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Hannes =?UTF-8?Q?M=C3=BCller?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 25 Dec 2024 12:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75085 X-GNU-PR-Package: guile X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173513130210594 (code B ref -1); Wed, 25 Dec 2024 12:56:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Dec 2024 12:55:02 +0000 Original-Received: from localhost ([127.0.0.1]:36484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQQuj-0002kb-Vn for submit@debbugs.gnu.org; Wed, 25 Dec 2024 07:55:02 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:51098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQQui-0002kJ-78 for submit@debbugs.gnu.org; Wed, 25 Dec 2024 07:55:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQQuh-0000Bw-22 for bug-guile@gnu.org; Wed, 25 Dec 2024 07:54:59 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQQue-0005dU-Mx for bug-guile@gnu.org; Wed, 25 Dec 2024 07:54:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1735131295; x=1735736095; i=h.c.f.mueller@gmx.de; bh=X8eJjFOqbrmeCv1kibfEdfoZo39d0mzCeOYRKFNprFk=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Subject: Content-Type:Date:cc:content-transfer-encoding:content-type:date: from:message-id:mime-version:reply-to:subject:to; b=aCNAUe0zavcYrkvbWlgYcInUPgRiHXZo65sm0lt27BqSIoc/6Q046lePSo8ByQER N01B/3mz5MyY9RZj4/IwDlIvlpDQ8m6UYcYc4E4MbDog8w3DmVWPNsRH8wEvtZm9l oK675ZyjuLv+XKjfVjCJNEoB0ofpqiOQINzI1T1O1gBZW4FnJPevvh0HQc6tfVXiS iZzHMCpeHsHv4AhX/8R0LQrteucPBXiI8EI8yl4WWBdTglcX4JkYO1KiV//+1V3fM gBKHi4Zd+1I3YnVlAABYL4T0CaYu1zeCWE4G4kwIBBzbMj/nFbKr1RcATNq66WtO8 8/hW9yvlLpHs5rdQEQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from [79.194.58.247] ([79.194.58.247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N02VjhgvPpMMqr3UCvywohvhFmRA3Tl7oOavB6Knvh6ez1xGQIkuHZS++wzknSx47 EYDRSPbZmpmzpzRJi7SueV+AMJysQOdaaIPx9EGrAp63ujfdE6aKkxjXlrc8FcFurcvORvQI8 JZPHMuSX2/2puJZAWnGt6qhDc7tcnE2q7PWatDgQODwYOfhhGTNDvtFQn14DU0+z7XIcYXQnV H1TzbA6tCLMMc4wr6dKu+02srAlg8c+7D7EwHUj+jI5SN70w4KkIdKl1FWWEwVMUPP7X2+xb Received-SPF: pass client-ip=212.227.15.19; envelope-from=h.c.f.mueller@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.bugs:11145 Archived-At: --rehcsed-495a1569-d40d-4375-a7a5-9510a8989149 Content-Type: text/html; charset=UTF-8
Dear All,
 
Please review the attached patch.
 
Thanks,
Hannes
--rehcsed-495a1569-d40d-4375-a7a5-9510a8989149 Content-Type: text/x-patch Content-Disposition: attachment; filename=0004-libguile-scm.h-fix-BUILDING_LIBGUILE-for-Werror-unde.patch X-UI-Content-Hash: 28a143cf96502e4bd3234a18ed580ca2e288c4fc72af015f726035b25a928708 Content-Transfer-Encoding: quoted-printable =46rom 696151ca382c7b166d349f704812dd73bc2fa7a7 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Hannes=3D20M=3DC3=3DBCller?=3D <> Date: Sat, 21 Dec 2024 19:20:17 +0100 Subject: [PATCH] libguile/scm.h: fix BUILDING_LIBGUILE for -Werror=3Dundef *libguile/scm.h: BUILDING_LIBGUILE is not always defined. This is signaled by -Werror=3Dundef in code using libguile. This patch fixes commit dc3a3a84f908f4a16e95a2c3bb412861521960dc =2D-- libguile/scm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libguile/scm.h b/libguile/scm.h index 4d079b1a8..180b40159 100644 =2D-- a/libguile/scm.h +++ b/libguile/scm.h @@ -718,9 +718,9 @@ enum scm_tc8_tags /* SCM_API is a macro prepended to all function and data definitions which should be exported from libguile. */ -#if BUILDING_LIBGUILE && HAVE_VISIBILITY +#if defined BUILDING_LIBGUILE && HAVE_VISIBILITY # define SCM_API extern __attribute__((__visibility__("default"))) -#elif BUILDING_LIBGUILE && (defined _WIN32 || defined __CYGWIN__) +#elif defined BUILDING_LIBGUILE && (defined _WIN32 || defined __CYGWIN__) # define SCM_API __declspec(dllexport) extern #elif defined _WIN32 || defined __CYGWIN__ # define SCM_API __declspec(dllimport) extern =2D- 2.45.2 --rehcsed-495a1569-d40d-4375-a7a5-9510a8989149--