develooper Front page | perl.perl5.changes | Postings from September 2021

[Perl/perl5] ac01b2: g++10 -Wparentheses build-time warnings

Thread Next
From:
James E Keenan via perl5-changes
Date:
September 16, 2021 11:54
Subject:
[Perl/perl5] ac01b2: g++10 -Wparentheses build-time warnings
Message ID:
Perl/perl5/push/refs/heads/smoke-me/jkeenan/g++10-build-time-warnings-20210913/6c7f74-2eb3aa@github.com
  Branch: refs/heads/smoke-me/jkeenan/g++10-build-time-warnings-20210913
  Home:   https://github.com/Perl/perl5
  Commit: ac01b27e9431d47d678f96cbf48ae563ab075015
      https://github.com/Perl/perl5/commit/ac01b27e9431d47d678f96cbf48ae563ab075015
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M gv.c

  Log Message:
  -----------
  g++10 -Wparentheses build-time warnings

Two build-time warnings appeared when building with g++10 as compared
with g++9.  Both were:

"suggest parentheses around assignment used as truth value"


  Commit: 2eb3aaaa0ecfee68ed3453d80c7acffd6aba4d84
      https://github.com/Perl/perl5/commit/2eb3aaaa0ecfee68ed3453d80c7acffd6aba4d84
  Author: James E Keenan <jkeenan@cpan.org>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M gv.c

  Log Message:
  -----------
  Keep lines under 80 characters

Per hv review in
https://github.com/Perl/perl5/pull/19132#issuecomment-920155495.


Compare: https://github.com/Perl/perl5/compare/6c7f745ccf52...2eb3aaaa0ecf

Thread Next


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