GNU bug report logs -
#18172
Ъompiler warning libltdl/ltdl.c:818 LT__UNUSED
Previous Next
To reply to this bug, email your comments to 18172 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-libtool <at> gnu.org
:
bug#18172
; Package
libtool
.
(Sat, 02 Aug 2014 09:35:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Дилян Палаузов <dilyan.palauzov <at> aegee.org>
:
New bug report received and forwarded. Copy sent to
bug-libtool <at> gnu.org
.
(Sat, 02 Aug 2014 09:35:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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;
Information forwarded
to
bug-libtool <at> gnu.org
:
bug#18172
; Package
libtool
.
(Thu, 04 Dec 2014 17:25:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 18172 <at> debbugs.gnu.org (full text, mbox):
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 197 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.