From 925cec3a8290dc666257d4d20d1a4e7825229caf Mon Sep 17 00:00:00 2001 From: Nils Gladitz Date: Fri, 5 Jun 2015 20:20:25 +0200 Subject: [PATCH] Add a space between literal and string macro In C++11 a space between a literal and string macro is required. --- Source/Modules/php.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/php.cxx b/Source/Modules/php.cxx index b50470ede..35e741949 100644 --- a/Source/Modules/php.cxx +++ b/Source/Modules/php.cxx @@ -1722,7 +1722,7 @@ public: Printf(output, "\t\t\treturn new %s%s($r);\n", prefix, Getattr(classLookup(d), "sym:name")); } else { Printf(output, "\t\t\t$c = new stdClass();\n"); - Printf(output, "\t\t\t$c->"SWIG_PTR" = $r;\n"); + Printf(output, "\t\t\t$c->" SWIG_PTR " = $r;\n"); Printf(output, "\t\t\treturn $c;\n"); } Printf(output, "\t\t}\n\t\treturn $r;\n");