I32 ix;
for (ix = 1; ix <= AvFILL(pad_name); ix++) {
- if (SvPOK(pname[ix]))
#ifdef IV_IS_QUAD
+ if (SvPOK(pname[ix]))
Perl_dump_indent(aTHX_ level, /* %5d below is enough whitespace. */
file,
"%5d. 0x%" PERL_PRIx64 " (%s\"%s\" %" PERL_PRId64 "-%" PERL_PRId64 ")\n",
(IV)SvNVX(pname[ix]),
(IV)SvIVX(pname[ix]));
#else
+ if (SvPOK(pname[ix]))
Perl_dump_indent(aTHX_ level, /* %5d below is enough whitespace. */
file,
"%5d. 0x%lx (%s\"%s\" %ld-%ld)\n",
char *name = SvPVx(((SVOP*)kid)->op_sv, n_a);
OP *newop = newAVREF(newGVOP(OP_GV, 0,
gv_fetchpv(name, TRUE, SVt_PVAV) ));
- if (ckWARN(WARN_SYNTAX))
#ifdef IV_IS_QUAD
+ if (ckWARN(WARN_SYNTAX))
Perl_warner(aTHX_ WARN_SYNTAX,
"Array @%s missing the @ in argument %" PERL_PRId64 " of %s()",
name, (IV)numargs, PL_op_desc[type]);
#else
+ if (ckWARN(WARN_SYNTAX))
Perl_warner(aTHX_ WARN_SYNTAX,
"Array @%s missing the @ in argument %ld of %s()",
name, (long)numargs, PL_op_desc[type]);
char *name = SvPVx(((SVOP*)kid)->op_sv, n_a);
OP *newop = newHVREF(newGVOP(OP_GV, 0,
gv_fetchpv(name, TRUE, SVt_PVHV) ));
- if (ckWARN(WARN_SYNTAX))
#ifdef IV_IS_QUAD
+ if (ckWARN(WARN_SYNTAX))
Perl_warner(aTHX_ WARN_SYNTAX,
"Hash %%%s missing the %% in argument %" PERL_PRId64 " of %s()",
name, (IV)numargs, PL_op_desc[type]);
#else
+ if (ckWARN(WARN_SYNTAX))
Perl_warner(aTHX_ WARN_SYNTAX,
"Hash %%%s missing the %% in argument %ld of %s()",
name, (long)numargs, PL_op_desc[type]);
dTARGET;
if (SvTYPE(hv) == SVt_PVAV)
hv = avhv_keys((AV*)hv);
- if (HvFILL(hv))
#ifdef IV_IS_QUAD
+ if (HvFILL(hv))
Perl_sv_setpvf(aTHX_ TARG, "%" PERL_PRId64 "/%" PERL_PRId64,
(Quad_t)HvFILL(hv), (Quad_t)HvMAX(hv) + 1);
#else
+ if (HvFILL(hv))
Perl_sv_setpvf(aTHX_ TARG, "%ld/%ld",
(long)HvFILL(hv), (long)HvMAX(hv) + 1);
#endif
if (ckWARN(WARN_UNTIE)) {
MAGIC * mg ;
if (mg = SvTIED_mg(sv, how)) {
- if (mg && SvREFCNT(SvRV(mg->mg_obj)) > 1)
#ifdef IV_IS_QUAD
+ if (mg && SvREFCNT(SvRV(mg->mg_obj)) > 1)
Perl_warner(aTHX_ WARN_UNTIE,
"untie attempted while %" PERL_PRIu64 " inner references still exist",
(UV)SvREFCNT(SvRV(mg->mg_obj)) - 1 ) ;
#else
+ if (mg && SvREFCNT(SvRV(mg->mg_obj)) > 1)
Perl_warner(aTHX_ WARN_UNTIE,
"untie attempted while %lu inner references still exist",
(unsigned long)SvREFCNT(SvRV(mg->mg_obj)) - 1 ) ;
if (range) {
if (lastvalue > value)
FAIL("invalid [] range in regexp");
- if (!SIZE_ONLY)
#ifdef UV_IS_QUAD
+ if (!SIZE_ONLY)
Perl_sv_catpvf(aTHX_ listsv, "%04" PERL_PRIx64 "\t%04" PERL_PRIx64 "\n", (UV)lastvalue, (UV)value);
#else
+ if (!SIZE_ONLY)
Perl_sv_catpvf(aTHX_ listsv, "%04x\t%04x\n", lastvalue, value);
#endif
lastvalue = value;
range = 1;
continue; /* do it next time */
}
- if (!SIZE_ONLY)
#ifdef UV_IS_QUAD
+ if (!SIZE_ONLY)
Perl_sv_catpvf(aTHX_ listsv, "%04" PERL_PRIx64 "\n", (UV)value);
#else
+ if (!SIZE_ONLY)
Perl_sv_catpvf(aTHX_ listsv, "%04x\n", value);
#endif
}
sv_vsetpvfn(sv, pat, strlen(pat), args, Null(SV**), 0, Null(bool*));
if (!SvCUR(sv) || *(SvEND(sv) - 1) != '\n') {
dTHR;
- if (PL_curcop->cop_line)
#ifdef IV_IS_QUAD
+ if (PL_curcop->cop_line)
Perl_sv_catpvf(aTHX_ sv, " at %_ line %" PERL_PRId64,
GvSV(PL_curcop->cop_filegv), (IV)PL_curcop->cop_line);
#else
+ if (PL_curcop->cop_line)
Perl_sv_catpvf(aTHX_ sv, " at %_ line %ld",
GvSV(PL_curcop->cop_filegv), (long)PL_curcop->cop_line);
#endif