Resolve RT #67412: C++ stule comments cause prolems in AIX
Fuji, Goro [Thu, 14 Apr 2011 14:38:00 +0000 (23:38 +0900)]
Changes
xs-src/Mouse.xs

diff --git a/Changes b/Changes
index 812203b..acc6363 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
 Revision history for Mouse
 
+0.92
+    [BUG FIXES]
+    * Replace C++-style comments (//) with C89-style comments(/* */)
+      (RT #67412)
+
 0.91 2011-03-14 13:12:35
     [CHANGES]
     * $type_constraint->check() accepts extra arguments for extensibility
index 34e9950..10f6c09 100644 (file)
@@ -517,7 +517,7 @@ CODE:
     /*  *{$package . '::' . $name} -> *gv */
     gv = gv_fetchpv(form("%"SVf"::%"SVf, package, name), GV_ADDMULTI, SVt_PVCV);
     mouse_install_sub(aTHX_ gv, code_ref);
-    //CvMETHOD_on((CV*)SvRV(code_ref));
+    /* CvMETHOD_on((CV*)SvRV(code_ref)); */
     (void)set_slot(methods, name, code); /* $self->{methods}{$name} = $code */
 }