GNU bug report logs -
#18172
Ъompiler warning libltdl/ltdl.c:818 LT__UNUSED
Previous Next
Full log
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;
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.