Change 20100601-hqm-V by [email protected] on 2010-06-01 15:10:44 EDT
in /Users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: when linking a swf10 lzo against an external lzo, compiler must check
that debug flag matches
New Features:
Bugs Fixed: lpp-9064
Technical Reviewer: ptw
QA Reviewer: max
Doc Reviewer: (pending)
Documentation:
Release Notes:
Overview:
Details:
Tests:
cd test/testlzo
# compile external library with debugging off
lzc -c --runtime=swf10,dhtml extclass.lzx
# compile lib that subclasses from extclass, with debug flag on
lzc -c -g1 --runtime=swf10,dhtml --lzolibs extclass.lzo libdir/lib2.lzx
You should see error below:
Compiling: libdir/lib2.lzx to lib2.lzo
cleaning working dir:
/var/folders/xh/xhmdrA41HCKjjiditeqN1k+++TI/-Tmp-/lzswf9/libdir/build/lib2
Compilation errors occurred:
copyFromLZO expecting to find 'swc-debug' in lzo archive
/Users/hqm/openlaszlo/trunk/test/testlzo/extclass.lzo, but found 'swc';
compiler options when building a (swf10) lzo must match those of any external
lzo's it references
Files:
M WEB-INF/lps/server/src/org/openlaszlo/compiler/LibraryWriter.java
M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100601-hqm-V.tar