Re: C++ fail with KeywordRPN
by H.Merijn Brand other posts by this author
Nov 7 2009 5:08AM messages near this date
C++ fail with KeywordRPN
|
Smoke [5.11.1] v5.11.1-126-ge3f38af FAIL(F) openbsd 4.6 (i386/1 cpu)
On Sat, 7 Nov 2009 13:02:33 +0000, Zefram <zefram@[...].org> wrote:
> A smoke using g++ has revealed:
Yes, smokes++ :)
> >KeywordRPN.c: In function 'void XS_XS__APItest__KeywordRPN_import(CV*)':
> >KeywordRPN.c:320: error: expected unqualified-id before 'class'
> >KeywordRPN.c:320: error: expected initializer before 'class'
> >KeywordRPN.c: In function 'void XS_XS__APItest__KeywordRPN_unimport(CV*)':
> >KeywordRPN.c:357: error: expected unqualified-id before 'class'
> >KeywordRPN.c:357: error: expected initializer before 'class'
> >make[1]: *** [KeywordRPN.o] Error 1
> >Unsuccessful make(ext/XS-APItest-KeywordRPN): code=512 at make_ext.pl line 449.
> >make: *** [lib/auto/XS/APItest/KeywordRPN/KeywordRPN.so] Error 25
>
> I used "class" as a variable name, but in C++ it's a keyword. Patch
> attached. Someone should also add a note about C++ compatibility to
> perlhack.pod.
Applying: C++ fail with KeywordRPN
Thanks, patch successfully applied as 58e85f6bd3e5ead9541e7b32918133d0e26f32e7
--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Thread:
Zefram
H.Merijn Brand
|