
h.m.brand at xs4all
Nov 7, 2009, 5:07 AM
Post #2 of 2
(54 views)
Permalink
|
On Sat, 7 Nov 2009 13:02:33 +0000, Zefram <zefram[at]fysh.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/
|