From: Fuji, Goro Date: Thu, 14 Apr 2011 14:38:00 +0000 (+0900) Subject: Resolve RT #67412: C++ stule comments cause prolems in AIX X-Git-Tag: 0.92~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9acbbf0aafed1a8ac71478cdc423abe6fb4fbefa;p=gitmo%2FMouse.git Resolve RT #67412: C++ stule comments cause prolems in AIX --- diff --git a/Changes b/Changes index 812203b..acc6363 100644 --- 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 diff --git a/xs-src/Mouse.xs b/xs-src/Mouse.xs index 34e9950..10f6c09 100644 --- a/xs-src/Mouse.xs +++ b/xs-src/Mouse.xs @@ -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 */ }