On Sun, Sep 26, 1999 at 03:36:55PM +0300, Jarkko Hietaniemi wrote:
>
> First the errors caused by your xsubpp change, then the xsubpp as it
> now lives in the repository.
>
> ../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -typemap ../../lib/ExtUtils/typemap -typemap typemap B.xs > B.xsc && mv B.xsc B.c
> cc -c -std -fprm d -ieee -D_INTRINSICS -DLANGUAGE_C -O4 -DVERSION=\"a5\" -DXS_VERSION=\"a5\" -I../.. B.c
> cc: Error: B.c, line 1113: Invalid declarator.
> OP * ;
> ----------------^
It was a misprint. In fact xsubpp is not in the dependence list of
the extension's C files, so my testings did not detect this. Should
not MakeMaker put xsubpp as a dependence?
I needed
pfind ext '/^(.*)\.xs$/' '$a = "$1.c"; unlink $a; print "$a\n"'
to initialize the actual testing...
Ilya
--- ./lib/ExtUtils/xsubpp~ Sun Sep 26 01:31:34 1999
+++ ./lib/ExtUtils/xsubpp Sun Sep 26 16:40:08 1999
@@ -390,7 +390,7 @@ sub INPUT_handler {
if ($name_printed) {
print ";\n";
} else {
- print "\t$var_name_after;\n";
+ print "\t$var_name;\n";
}
} elsif ($var_init =~ /\S/) {
&output_init($var_type, $var_num, $var_name, $var_init, $name_printed);
Thread Next