develooper Front page | perl.perl5.changes | Postings from March 2023

[Perl/perl5] 6b7e91: intrpvar.h - silence deprcation warning on HPUX

From:
Yves Orton via perl5-changes
Date:
March 23, 2023 11:34
Subject:
[Perl/perl5] 6b7e91: intrpvar.h - silence deprcation warning on HPUX
Message ID:
Perl/perl5/push/refs/heads/yves/hpux_build_warning_suppression/2da3e5-204b7f@github.com
  Branch: refs/heads/yves/hpux_build_warning_suppression
  Home:   https://github.com/Perl/perl5
  Commit: 6b7e9168823d8982bd453e57d92e22b7ad39824a
      https://github.com/Perl/perl5/commit/6b7e9168823d8982bd453e57d92e22b7ad39824a
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M intrpvar.h

  Log Message:
  -----------
  intrpvar.h - silence deprcation warning on HPUX

We were already silencing it on GCC, so lets add HPUX to the party.
Unfortunately I have not figured out a way to have a nice neat define
for it like we have for GCC or MSVC. :-(

Silences this:
    "intrpvar.h", line 941: warning #3215-D: function "Perl_sv_nounlocking"
              (declared at line 5934 of "proto.h") was declared deprecated
      PERLVARI(I, unlockhook,       share_proc_t, PERL_UNLOCK_HOOK)
      ^

We probably should add the same for MSVC as well.


  Commit: 204b7f376479ab556bddbe0f7e4e81eedc396fbd
      https://github.com/Perl/perl5/commit/204b7f376479ab556bddbe0f7e4e81eedc396fbd
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M intrpvar.h

  Log Message:
  -----------
  intrpvar - ignore deprecated warning on MSVC as well


Compare: https://github.com/Perl/perl5/compare/2da3e59abe86...204b7f376479



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About