bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18172: Ъompiler warning libltdl/ltdl.c:818 LT__UNUSED


From: Дилян Палаузов
Subject: bug#18172: Ъompiler warning libltdl/ltdl.c:818 LT__UNUSED
Date: Sat, 02 Aug 2014 11:33:19 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.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;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]