This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
gv.c: SVf needs to be surrounded by spaces
authorKarl Williamson <khw@cpan.org>
Mon, 4 Nov 2019 20:54:41 +0000 (13:54 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 5 Nov 2019 16:47:51 +0000 (09:47 -0700)
perl can be compiled with C++, and this is illegal there.

gv.c

diff --git a/gv.c b/gv.c
index 93be47e..9a4eae0 100644 (file)
--- a/gv.c
+++ b/gv.c
@@ -814,8 +814,8 @@ S_gv_fetchmeth_internal(pTHX_ HV* stash, SV* meth, const char* name, STRLEN len,
                 } else {
                     Perl_ck_warner(aTHX_ packWARN(WARN_SYNTAX),
                         "While trying to resolve method call %.*s->%.*s()"
-                        " can not locate package \"%"SVf"\" yet it is mentioned in @%.*s::ISA"
-                         " (perhaps you forgot to load \"%"SVf"\"?)",
+                        " can not locate package \"%" SVf "\" yet it is mentioned in @%.*s::ISA"
+                        " (perhaps you forgot to load \"%" SVf "\"?)",
                          (int) hvnamelen, hvname,
                          (int) len, name,
                         SVfARG(linear_sv),