mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
Avoid GCC -Wall compiler warning in dlopen self test.
* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Fix unused variable warning in test program. * THANKS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
66c97302ad
commit
e0c817e510
@ -1,3 +1,10 @@
|
||||
2010-06-15 Philip Allison <philip.allison@smoothwall.net> (tiny change)
|
||||
|
||||
Avoid GCC -Wall compiler warning in dlopen self test.
|
||||
* libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Fix unused
|
||||
variable warning in test program.
|
||||
* THANKS: Update.
|
||||
|
||||
2010-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix cleaning of uninstalled w32 shell wrapper in subdirs.
|
||||
|
1
THANKS
1
THANKS
@ -145,6 +145,7 @@
|
||||
Peter Fritzsche peter.fritzsche@gmx.de
|
||||
Peter Jeremy peterjeremy@optushome.com.au
|
||||
Peter Kjellerstedt peter.kjellerstedt@axis.com
|
||||
Philip Allison philip.allison@smoothwall.net
|
||||
Rainer Emrich r.emrich@de.tecosim.com
|
||||
Rainer Orth ro@TechFak.Uni-Bielefeld.DE
|
||||
Rainer Tammer tammer@tammer.net
|
||||
|
4
libltdl/m4/libtool.m4
vendored
4
libltdl/m4/libtool.m4
vendored
@ -1658,10 +1658,10 @@ else
|
||||
/* When -fvisbility=hidden is used, assume the code has been annotated
|
||||
correspondingly for the symbols needed. */
|
||||
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
|
||||
void fnord () __attribute__((visibility("default")));
|
||||
int fnord () __attribute__((visibility("default")));
|
||||
#endif
|
||||
|
||||
void fnord () { int i=42; }
|
||||
int fnord () { return 42; }
|
||||
int main ()
|
||||
{
|
||||
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
|
||||
|
Loading…
Reference in New Issue
Block a user