libtool-patches
[Top][All Lists]
Advanced

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

Re: Compiler warning in libltdl/m4/libtool.m4 test program


From: Ralf Wildenhues
Subject: Re: Compiler warning in libltdl/m4/libtool.m4 test program
Date: Tue, 15 Jun 2010 20:14:13 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

Hello Philip,

thanks for the report and patch.

* Philip Allison wrote on Tue, Jun 15, 2010 at 01:15:14PM CEST:
> The test program for "whether a program can dlopen itself" generates a
> compiler warning, which turns into a failure when building with "-Wall
> -Werror" in CFLAGS.

Please note that in general, it is impossible for configure tests to be
-Werror clean.  That is not only due to the sheer amount of possible
erros from different GCC compiler versions (not to speak of others),
different sets of warning flags, and system-specific issues, but also
because inherently, some configure tests have to do things that are only
half-decent C.  Thus we strongly recommend to add -Werror only at 'make'
run time and not at configure time already.

That said,

> 2010-06-15  Philip Allison  <address@hidden>
> 
>       * libltdl/m4/libtool.m4 (_LT_TRY_DLOPEN_SELF): Fix unused
>       variable warning in test program.

this patch looks ok to me.  I've applied it in your name, and added you
to THANKS.

Please note that you will need a copyright assignment in place for
nontrivial contributions (more off-list if you are interested), but
not for this one.

> This email and any attachments transmitted with it are confidential
> to the intended recipient(s) and may not be communicated to any
> other person or published by any means [...]

This notice is inappropriate for a public mailing lists.  Your mail
has already been archived at several locations and communicated to an
unknown and uncontrollable number of recipients.  If you can't turn off
the note, please consider writing from a non-business account.

Thanks!
Ralf



reply via email to

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