swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] error on linux64


From: Jean Thierry-Mieg
Subject: [Swftools-common] error on linux64
Date: Thu, 3 May 2007 22:56:21 -0400 (EDT)

Hello
i just redownloaded swftools-0.8.1.tar.gz

i configured and compiled clean on a linux 32 bit and on
compiled also on a linux 64 bit machine (suse linux)

i then run the command
src/swfc tutu.sc

on the file
cat tutu.sc

.flash bbox=668x91 filename="box.swf" 

.outline carre:
    M 8 8 L 8 5 L 5 5 L 8 8
.end
.filled bcarre outline=carre
.end

on the 32 bit machine it works perfect
on the 64 bits machine i get

rfxswf: Warning: num_bits overflow in swf_SetRect

i expnaded the message and i get
num_bits overflow in swf_SetRect (r->xmin=100 r->ymin=100 r->xmax=2147483648 
r->ymax=2147483648 

in fact the make is far from clean
there are maybe one hundred warnings like
swf4compiler.y:744: warning: pointer targets in passing argument 2 of 
'bufferWriteString' differ in signedness
swf4compiler.y:751: warning: pointer targets in passing argument 2 of 
'bufferWriteString' differ in signedness
ng2swf.c: In function 'png_read_header':
png2swf.c:169: warning: pointer targets in passing argument 1 of 'strlen' 
differ 
in signedness
png2swf.c:169: warning: pointer targets in passing argument 1 of 'strlen' 
differ 
in signedness
png2swf.c:169: warning: pointer targets in passing argument 1 of 'strlen' 
differ 
in signedness
png2swf.c:169: warning: pointer targets in passing argument 1 of 'strlen' 
differ 
in signedness
png2swf.c:169: warning: pointer targets in passing argument 1 of 
'__builtin_strcmp' differ in signedness
png2swf.c:169: warning: pointer targets in passing argument 2 of 
'__builtin_strcmp' differ in signedness
p

and so on
it seems this overflow looks like a negative number beeing seen as unsigned

i could help edit the code, but it may be that lots of things
should be modified and i would not know how to test the modified code

yours

Jean Thierry-Mieg
NCBI. NLM. NIH Bldg 38A
8600 Rockville Pike
Bethesda, MD 20894, USA
Tel   1 (301) 435 49 21   Fax   1 (301) 480 92 41




reply via email to

[Prev in Thread] Current Thread [Next in Thread]