Chapter 49 Understanding Compilation of the developer's guide doesn't
mention any limitations with <switch> statements and binary libraries.
But when I try compile a module into an LZO, the compiler complaints
about the switch statement:
http://www.openlaszlo.org/lps4.9/docs/developers/compiler.html#d0e126252

raju$ lzc -c lib.lzx
Compiling: lib.lzx to lib.lzo
class1.lzx:6:17: <switch> not allowed in binary libraries

How can we deal with runtime specific code in LZO's, if the <switch>
tag is not supported? Or should it be working?

Thanks,
Raju

Reply via email to