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

Previous Next

Package: libtool;

Reported by: Дилян Палаузов <dilyan.palauzov <at> aegee.org>

Date: Sat, 2 Aug 2014 09:35:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: "Gary V. Vaughan" <gary <at> gnu.org>
To: Дилян Палаузов <dilyan.palauzov <at> aegee.org>
Cc: 18172 <at> debbugs.gnu.org
Subject: bug#18172: Ъompiler warning libltdl/ltdl.c:818 LT__UNUSED
Date: Thu, 4 Dec 2014 17:24:02 +0000
On Aug 2, 2014, at 10:33 AM, Дилян Палаузов <dilyan.palauzov <at> aegee.org> wrote:
> 
> Hello,

Hi,

> 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)
>                                                     ^
> Със здраве
>  Дилян

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,
-- 
Gary V. Vaughan (gary AT gnu DOT org)



This bug report was last modified 10 years and 198 days ago.

Previous Next


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