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 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: Fri, 31 Oct 2014 17:00:04 UTC

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