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

Paul Gevers <[email protected]>
Newsgroups gmane.linux.debian.devel.gcc,gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAlxAiNUACgkQnFyZ6wW9
dQqwewf+OXoIvAPS8T6ODXlS1NSXVuzktRPNU8+wIHVQ5k1ZbJ4mjcQYVqzYypfU
utKcrlcBXsj2lZA40dRkKFCR/S3DBpW/GhKMPqTJvSp25K9C4jib2aJ8GN14QaIx
mJImoai2g+NNJA54+Pv0z5+3vVUxOHjT80ThTkeQJLkpr1TkyiWyEIJvQOChaV+m
aCdRaCwijr+wmXq7hm3tR6ZSI4ihjjeFHrRryKDgUSyWabf5+uRAN9D2Wb/tlIoi
CcXKS+R/ZNVBDqjZ7QBOM9KWtVzFYqz0QjC4Yr8s48+mZZ0wF/DEs5aMKoZqWb2u
NcOOq182bkwHaxP7DmhdM7J5jtXtWA==
=mAlZ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.