[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-devel
Subject: Re: #6026: LyX crashes when backward selecting during formula writing
From: Jean-Marc Lasgouttes <lasgouttes () lyx ! org>
Date: 2009-06-30 13:01:22
Message-ID: liy8wj97u59.fsf () pegase ! inria ! fr
[Download RAW message or body]
Jürgen Spitzmüller <spitz@lyx.org> writes:
> I think assertions should always be disabled if the build_mode is "release".
> Until now, they were only disabled if the version contained no "svn" tag
> (i.e., devel_version == False). So if you wanted to use the 1.6.4svn branch
> with disabled assertions, you could not do that, unless you changed the
> version to "1.6.4". OTOH I also think it should be possible to enable
> assertions in LyX 1.6.3. With my patch, you can also do this by using the
> mode=debug flag.
>
> I think this is more close to what we have in autotools, no?
In autotools, the devel/rel/pre state gives some defaults for all these
options (there is a table in the INSTALL file) but these defaults can
be overridden on the command line (--disable--assertions...).
Therefore I would use something like
(env.has_key('assertions') and env['assertions']) or (! env.has_key('assertions') and mode == 'debug')
(assuming the code above is working python and env.has_key tells me
about command line options.
However, I do not see how this change could fix the assertions problem on
windows.
JMarc
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic