Skip to content

Commit

Permalink
Enable warnings on «use v5.33»
Browse files Browse the repository at this point in the history
  • Loading branch information
Leont committed Jul 29, 2021
1 parent 6e7a781 commit c118645
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions op.c
Expand Up @@ -8864,6 +8864,9 @@ Perl_utilize(pTHX_ int aver, I32 floor, OP *version, OP *idop, OP *arg)
PL_hints |= HINT_STRICT_SUBS;
if (!(PL_hints & HINT_EXPLICIT_STRICT_VARS))
PL_hints |= HINT_STRICT_VARS;

if (vcmp(use_version, sv_2mortal(upg_version(newSVpvs("5.035000"), FALSE))) >= 0)
free_and_set_cop_warnings(&PL_compiling, pWARN_ALL);
}
/* otherwise they are off */
else {
Expand Down

0 comments on commit c118645

Please sign in to comment.