GNU bug report logs - #18172
Ъompiler warning libltdl/ltdl.c:818 LT__UNUSED

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Дилян Палаузов <dilyan.palauzov@HIDDEN>; dated Sat, 2 Aug 2014 09:35:02 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at 18172 <at> debbugs.gnu.org:


Received: (at 18172) by debbugs.gnu.org; 4 Dec 2014 17:24:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 04 12:24:09 2014
Received: from localhost ([127.0.0.1]:53847 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Xwa8O-0005EH-Sf
	for submit <at> debbugs.gnu.org; Thu, 04 Dec 2014 12:24:09 -0500
Received: from sub3.mail.dreamhost.com ([69.163.253.7]:58957
 helo=homiemail-a21.g.dreamhost.com)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <gary@HIDDEN>) id 1Xwa8M-0005E8-Cw
 for 18172 <at> debbugs.gnu.org; Thu, 04 Dec 2014 12:24:07 -0500
Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1])
 by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 7B00D300064;
 Thu,  4 Dec 2014 09:24:05 -0800 (PST)
Received: from [192.168.1.3] (178.162.115.87.dyn.plus.net [87.115.162.178])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: gary@HIDDEN)
 by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPSA id DF1A8300061;
 Thu,  4 Dec 2014 09:24:04 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
Subject: =?utf-8?Q?Re=3A_bug=2318172=3A_=D0=AAompiler_warning_libltdl/ltd?=
 =?utf-8?Q?l=2Ec=3A818_LT=5F=5FUNUSED?=
From: "Gary V. Vaughan" <gary@HIDDEN>
In-Reply-To: <53DCB05F.2010501@HIDDEN>
Date: Thu, 4 Dec 2014 17:24:02 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <EC519B69-FC0F-444C-8353-11072DBCDCFE@HIDDEN>
References: <53DCB05F.2010501@HIDDEN>
To: =?utf-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?=
 <dilyan.palauzov@HIDDEN>
X-Mailer: Apple Mail (2.1993)
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 18172
Cc: 18172 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

On Aug 2, 2014, at 10:33 AM, =D0=94=D0=B8=D0=BB=D1=8F=D0=BD =
=D0=9F=D0=B0=D0=BB=D0=B0=D1=83=D0=B7=D0=BE=D0=B2 =
<dilyan.palauzov@HIDDEN> wrote:
>=20
> Hello,

Hi,

> please update libltdl/ltdl.c as follows, so that gcc 4.9.1 and 4.8.3 =
do not emit warnings:
>=20
>  CC       libltdlc_la-ltdl.lo
> ltdl.c: In function =E2=80=98load_deplibs=E2=80=99:
> ltdl.c:818:53: warning: unused parameter =E2=80=98deplibs=E2=80=99 =
[-Wunused-parameter]
> load_deplibs (lt_dlhandle handle, char * LT__UNUSED deplibs)
>                                                     ^
> =D0=A1=D1=8A=D1=81 =D0=B7=D0=B4=D1=80=D0=B0=D0=B2=D0=B5
>  =D0=94=D0=B8=D0=BB=D1=8F=D0=BD

Rather than patch in just the one place, I moved all instances of =
LT__UNUSED
to follow the unused parameter to prevent other similar warnings.

Cheers,
--=20
Gary V. Vaughan (gary AT gnu DOT org)=




Information forwarded to bug-libtool@HIDDEN:
bug#18172; Package libtool. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Aug 2014 09:34:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 02 05:34:17 2014
Received: from localhost ([127.0.0.1]:54444 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1XDVhg-0006HR-8t
	for submit <at> debbugs.gnu.org; Sat, 02 Aug 2014 05:34:16 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50195)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1XDVhd-0006H9-Jj
 for submit <at> debbugs.gnu.org; Sat, 02 Aug 2014 05:34:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1XDVhQ-0005V5-8u
 for submit <at> debbugs.gnu.org; Sat, 02 Aug 2014 05:34:08 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:44069)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1XDVhQ-0005V0-5v
 for submit <at> debbugs.gnu.org; Sat, 02 Aug 2014 05:34:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51783)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1XDVhJ-0002mL-4v
 for bug-libtool@HIDDEN; Sat, 02 Aug 2014 05:34:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1XDVhC-0005NF-1d
 for bug-libtool@HIDDEN; Sat, 02 Aug 2014 05:33:53 -0400
Received: from mailout-aegee.scc.kit.edu ([129.13.185.235]:56793)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dilyan.palauzov@HIDDEN>) id 1XDVhB-0005AY-OD
 for bug-libtool@HIDDEN; Sat, 02 Aug 2014 05:33:45 -0400
Received: from smtp.aegee.org (aegeepc1.aegee.uni-karlsruhe.de [129.13.131.81])
 by scc-mailout-02.scc.kit.edu with esmtp (Exim 4.72 #1)
 id 1XDVgm-0006zP-T6; Sat, 02 Aug 2014 11:33:20 +0200
Authentication-Results: aegeeserv.aegee.org;
 auth=pass (PLAIN) smtp.auth=didopalauzov
DKIM-Filter: OpenDKIM Filter v2.9.0 smtp.aegee.org s729XPO3024266
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aegee.org; s=k4096;
 t=1406972005; i=dkim+MSA-ssl@HIDDEN;
 bh=vtkDKzUusLnMoMq5mmmRQWeaFXRqJNdJRJXqNpmV/vQ=;
 h=Date:From:To:Subject;
 b=cZEV3m3KYRVJon0lqRtGQN9ah2j6+QqoF/tuarHZqb0/7jjSd/yFcwyMlkexNT/L/
 7r9skkwwHPT7TJaQeJkvdoblxOqTh4WzJpvDt4WMgWGprO8rk6sSMLj1wgyHFU10tr
 X/Vh7j/5GyaJ6+MOGO4QUqU+PKM38+o94UtFgG6P18OKwmAvX486+15shqVQnhhbQK
 EQp0H1rXNrff0Cj/QbJd7e1vsCeje5tzUH3vIFs3qe+xGv/RleBaU+2dLFDRathEL9
 2AWWRxbrjXM2WLZknm+zDw+7WwlmSQ5ab7yjN1iZJdjM2FXWPtiJbDkPsFtp181Sm+
 mpOZ3lbV/cGHf7+m/YkLBGYPg1dcuNvzOt1G1iTbSvp5+CFN4gxNDEbOGHorNBxW1G
 mBYjtOzTfarZqh5o28O7YGeIkeIySftL6UVrXOpP5TsyXCtV4AIMXpt8qX2QWihFII
 8JLppZvsPWYyjG4XUPqD6UrxAlsA/9ha6k0T6pp1E/W5GfPtzp37nHbOtxcRfiStu5
 0k7SCDSseJcl8cRqAwkQw2IA+LmsdAjmNbjJYRrRqR/7buT47tQa8fUVGqc95EdLvr
 LUKujJxFrBIIVY0CpC4CPdxPmBDUaAzSayZV7J876mY/jZAbDgxBH3DKt1SoX3pJSl
 vhEQF8r1BW5sOVJNTDTPpAvc=
Received: from [192.168.0.4] (port-212-202-110-243.static.qsc.de
 [212.202.110.243]) (authenticated bits=0)
 by smtp.aegee.org (8.14.9/8.14.5) with ESMTP id s729XPO3024266
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO)
 for <bug-libtool@HIDDEN>; Sat, 2 Aug 2014 09:33:25 GMT
Message-ID: <53DCB05F.2010501@HIDDEN>
Date: Sat, 02 Aug 2014 11:33:19 +0200
From: =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?=
 <dilyan.palauzov@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
 rv:31.0) Gecko/20100101 Thunderbird/31.0
MIME-Version: 1.0
To: bug-libtool@HIDDEN
Subject: =?UTF-8?B?0KpvbXBpbGVyIHdhcm5pbmcgbGlibHRkbC9sdGRsLmM6ODE4IExUX18=?=
 =?UTF-8?B?VU5VU0VE?=
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.98.4 at aegeeserv
X-Virus-Status: Clean
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Hello,

please update libltdl/ltdl.c as follows, so that gcc 4.9.1 and 4.8.3 do 
not emit warnings:

   CC       libltdlc_la-ltdl.lo
ltdl.c: In function ‘load_deplibs’:
ltdl.c:818:53: warning: unused parameter ‘deplibs’ [-Wunused-parameter]
  load_deplibs (lt_dlhandle handle, char * LT__UNUSED deplibs)
                                                      ^
Със здраве
   Дилян


diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index 098f9a6..7db522b 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -815,7 +815,7 @@ find_handle (const char *search_path, const char 
*base_name,

  #if !defined LTDL_DLOPEN_DEPLIBS
  static int
-load_deplibs (lt_dlhandle handle, char * LT__UNUSED deplibs)
+load_deplibs (lt_dlhandle handle, char * deplibs LT__UNUSED)
  {
    handle->depcount = 0;
    return 0;




Acknowledgement sent to Дилян Палаузов <dilyan.palauzov@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#18172; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.