Groups | Search | Server Info | Login | Register
| Newsgroups | perl.dbi.dev |
|---|---|
| Date | 2024-08-29 17:36 +0200 |
| Subject | Re: DBI 1.644 cannot be compiled with gcc 14.2.1: dbih_inner() |
| Message-ID | <20240829173658.091cb82e@pc09> (permalink) |
| References | <b7b24db40707d6b2eb31ccfc07c333d5025235f7.camel@bapha.be> |
| From | perl5@tux.freedom.nl |
[Multipart message — attachments visible in raw view] - view raw
On Thu, 29 Aug 2024 17:23:46 +0300, Dilyan Palauzov via dbi-dev <dbi-dev@perl.org> wrote:
> Hello,
>
> DBI 1.644 fails to compile with gcc 14.2.1 and perl 5.38.2:
Check out https://github.com/perl5-dbi/dbi/commit/d6e2bf13ac6043f5b0a9a147805b4915bd70e631
We are working very hard to get DBI back in shape after 4½ years of relative silence.
Changes have been committed to git, but a release did not happen
If you depend on a recent DBI, check out from git.
As releasing is a long process to make sure we did not break new
things, I am not doing releases in haste
> …
> DBI.xs: In function ‘dbi_ima_free’:
> DBI.xs:250:46: warning: unused parameter ‘mg’ [-Wunused-parameter]
> 250 | static int dbi_ima_free(pTHX_ SV* sv, MAGIC* mg)
> | ~~~~~~~^~
> In file included from /usr/local/lib/perl5/5.38.2/x86_64-linux-thread-multi-ld/CORE/perl.h:6227:
> DBI.xs: In function ‘dbih_inner’:
> /usr/local/lib/perl5/5.38.2/x86_64-linux-thread-multi-ld/CORE/hv.h:541:31: error: passing argument 2 of ‘Perl_hv_common_key_len’ from in compatible pointer type [-Wincompatible-pointer-types]
> 541 | ((SV**) hv_common_key_len((hv), (key), (klen), (lval) \
> | ^~~~
> | |
> | SV * {aka struct sv *}
> /usr/local/lib/perl5/5.38.2/x86_64-linux-thread-multi-ld/CORE/embed.h:293:78: note: in definition of macro ‘hv_common_key_len’
> 293 | # define hv_common_key_len(a,b,c,d,e,f) Perl_hv_common_key_len(aTHX_ a,b,c,d,e,f)
> | ^
>
>
> While the error message is ‘argument 2", the ^~~~ points to the first argument of hv_common_hey_len (and to the second of Perl_hv_common_key_len)
>
> Dilyan
--
H.Merijn Brand https://tux.nl Perl Monger http://amsterdam.pm.org/
using perl5.00307 .. 5.37 porting perl5 on HP-UX, AIX, and Linux
https://tux.nl/email.html http://qa.perl.org https://www.test-smoke.org
Back to perl.dbi.dev | Previous | Next — Previous in thread | Find similar
DBI 1.644 cannot be compiled with gcc 14.2.1: dbih_inner() dbi-dev@perl.org (Dilyan Palauzov via dbi-dev) - 2024-08-29 17:23 +0300 Re: DBI 1.644 cannot be compiled with gcc 14.2.1: dbih_inner() perl5@tux.freedom.nl - 2024-08-29 17:36 +0200
csiph-web