[Laszlo-reviews] For Review: Change 20100601-hqm-V Summary: when linking a swf10 lzo against an external lzo, compiler must check that debug flag matches

Max Carlson max at laszlosystems.com
Wed Jun 2 12:13:30 PDT 2010


Can you make the error message more informative?  I get:
copyFromLZO expecting to find 'swc-debug' in lzo archive 
/Users/maxcarlson/openlaszlo/trunk-clean/test/testlzo/extclass.lzo, but 
found 'swc'; compiler options when building a (swf10) lzo must match 
those of any external lzo's it references

Maybe removing the 'swc-' from the error message and changing '' to 
'non-debug' would help:
copyFromLZO expecting to find 'debug' version in lzo archive 
/Users/maxcarlson/openlaszlo/trunk-clean/test/testlzo/extclass.lzo, but 
found 'non-debug'; compiler options when building a (swf10) lzo must 
match those of any external lzo's it references

Otherwise, approved!

On 6/1/10 12:15 PM, Henry Minsky wrote:
> 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

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-reviews mailing list