[Lazarus] Watch List shows absolute rubbish

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Oct 20 22:38:16 CEST 2016


On Fri, 14 Oct 2016 23:09:38 +0100
Graeme Geldenhuys via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> I finally found the cause of the problem. I don’t use build modes in
> Lazarus, so only ever looked at the “Project Options -> Compiler Options
> -> Compilation and Linking” screen. That’s where I set the -O- option,  
> and I also set other debugging options in the “Compiler Options ->
> Debugging” screen, like the -gl and -gh options.
> 
> What I didn’t realize was that inside “Compiler Options -> Additions and
> Overrides”, there was a “Stored in IDE” custom option (there are
> actually a few defined), and one of the active options was -O2. And that
> optimisation option is what caused all the trouble.
> 
> Lovely conflicting options with no warning.

The IDE now warns.
Note that they are not "conflicting". Overriding a flag is a common
thing.


Mattias


More information about the Lazarus mailing list