[prev in list] [next in list] [prev in thread] [next in thread]
List: gnash-dev
Subject: Re: [Laszlo-dev] [Gnash-dev] Re: OpenLaszlo support (continued..)
From: P T Withington <ptw () openlaszlo ! org>
Date: 2007-02-27 22:17:02
Message-ID: BC91141F-3FD3-465E-A4D7-33AB8BF8E169 () openlaszlo ! org
[Download RAW message or body]
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=true
but if you really want to build a debugging version of the LFC, you
should just use
buildlfcdebug
Be forewarned that that inserts lots of checking code into the output
swf and will make it much larger.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic