Mahesh T. Pai wrote:
I am trying to build gnash on Debian AMD64 sid/unstable.
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../server -Wall -g -O2
-I/usr/include/SDL -D_REENTRANT -I.. -I. -I../server -g -O2 -MT amf.lo -MD -MP
-MF .deps/amf.Tpo -c amf.cpp -fPIC -DPIC -o .libs/amf.o
amf.cpp: In member function 'int amf::AMF::readElement(void*, void*)':
amf.cpp:128: warning: format '%lld' expects type 'long long int', but argument
2 has type 'amf::amfnum_t'
amf.cpp:178: warning: format '%lld' expects type 'long long int', but argument
2 has type 'amf::amfnum_t'
amf.cpp:182: warning: unused variable 'length'
amf.cpp:125: warning: enumeration value 'Unsupported' not handled in switch
amf.cpp:125: warning: enumeration value 'Recordset' not handled in switch
amf.cpp:125: warning: enumeration value 'XMLObject' not handled in switch
amf.cpp:125: warning: enumeration value 'TypedObject' not handled in switch
amf.cpp: In member function 'int amf::AMF::extractElementLength(void*)':
amf.cpp:402: error: cast from 'char*' to 'int' loses precision
amf.cpp:402: error: cast from 'char*' to 'int' loses precision
amf.cpp:420: error: cast from 'char*' to 'int' loses precision
amf.cpp:420: error: cast from 'char*' to 'int' loses precision
amf.cpp:448: error: cast from 'char*' to 'int' loses precision
amf.cpp:448: error: cast from 'char*' to 'int' loses precision
You can ignore libamf for now, as nothing uses it yet. I probably
shouldn't have enabled it as part of the build because most of that code
is at a brain dump level, and not really more than barely started. It's
obviously not 64 bit aware yet either. The next pass through the code
should leave it in a much better state. What's there now is just code
that attempts to implement AMF from a few notes I found on the net.
I'm kindof hoping somebody else would take on maintaining the amf
library, because it seems useful outside of Gnash and without a Win32
machine, I can't really test it till the details are worked out more. I
have plenty of other things I'd rather be focusing on...
- rob -
_______________________________________________
Gnash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash