develooper Front page | perl.perl6.internals | Postings from July 2002

[perl #15712] [Bug] perl6 -C mops.p6

Thread Next
From:
Leopold Toetsch
Date:
July 28, 2002 04:35
Subject:
[perl #15712] [Bug] perl6 -C mops.p6
Message ID:
rt-15712-31821.9.26647232826284@perl
# New Ticket Created by  Leopold Toetsch 
# Please include the string:  [perl #15712]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=15712 >


Hi,

there seems to be a bug somewhere in code generation:

[ please run this in a copy of CVS tree, it clobbers
   examples/mops/mops.c or copy mops.p6 to e.g. languages/perl6 ]

[lt@thu8:~/src/parrot-007/languages/perl6]
$ perl6 -v -C ../../examples/mops/mops.p6
Possible attempt to separate words with commas at P6C/IMCC.pm line 789.
P6C '../../examples/mops/mops.p6'
Writing warnings to '../../examples/mops/mops.warn'
..../imcc/imcc  ../../examples/mops/mops.imc ../../examples/mops/mops.pasm
assembling perl ../../assemble.pl  ../../examples/mops/mops.pasm -o 
..../../examples/mops/mops.pbc
compiling cd ../../; perl pbc2c.pl 
languages/perl6/../../examples/mops/mops.pbc
Use of uninitialized value at lib/Parrot/OpTrans/Compiled.pm line 94.
compiling cd ../..; cc -Dbool=char -DHAS_BOOL -I/usr/local/include 
-DHAVE_COMPUTED_GOTO -I./include  -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Winline -Wshadow -Wpointer-arith -Wcast-qual 
-Wcast-align -Wwrite-strings -Waggregate-return -Winline -W -Wno-unused 
-Wsign-compare  -c languages/perl6/../../examples/mops/mops.c -o 
languages/perl6/../../examples/mops/mops.o
languages/perl6/../../examples/mops/mops.c: In function `main':
languages/perl6/../../examples/mops/mops.c:270: warning: passing arg 3 
of `PackFile_unpack' from incompatible pointer type
core.ops: In function `run_compiled':
core.ops:4240: label `PC_930' used but not defined

leo




Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About