|
From: | P T Withington |
Subject: | Re: [Laszlo-dev] [Gnash-dev] Re: OpenLaszlo support (continued..) |
Date: | Tue, 27 Feb 2007 17:17:02 -0500 |
On 2007-02-27, at 16:11 EST, strk wrote:
On Tue, Feb 27, 2007 at 03:44:43PM -0500, P T Withington wrote:Something is screwy here. Top-level 'if' statements are evaluated at compile time. This lets us conditionalize the code for different run times, etc.It appears that the compiler has come across a top-level if of the form:if (1) { ... } and it is complaining. Have you edited the source at all?Got me ! -if ($debug) { +if (1) { // $debug) {
You can define compile-time options on the command line: buildlfc -D$debug=truebut if you really want to build a debugging version of the LFC, you should just use
buildlfcdebugBe forewarned that that inserts lots of checking code into the output swf and will make it much larger.
[Prev in Thread] | Current Thread | [Next in Thread] |