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

Re: autoconf: AC_SEARCH_LIBS with AC_LANG([C++]) broken when using gcc 8



Hi Doko,

Thanks for your reply.

On 14-01-2019 11:57, Matthias Klose wrote:
> On 12.01.19 21:37, Chaim Zax wrote:
>> Because autoconf can be used outside a Debian environment this solution
>> might not work for everyone. Perhaps the AC_SEARCH_LIBS function should
>> be extended so function arguments needed to check a library could be
>> provided as well, or perhaps there is an other way to make it compatible
>> with g++ 8.
> 
> g++ 8 got more strict. You could check if that's the case for g++ 9 as well (or
> gcc-snapshot).  In any case, autoconf should be adjusted to avoid the warning/error.

Do you happen to know why g++ 8 happens to fail on this library and
doesn't fail on other libraries we checked? Does g++ know which
libraries it includes and is it pickier on those?

Paul

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: