[Lazarus] New compiler options page "Additions and Overrides"

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Jun 8 15:02:07 CEST 2013


Mattias Gaertner schrieb:

> Why is a semicolon separated list like
> 
> EnableThis;EnableThat;DebugThis

This representation allows to add values to the symbols, not only to 
define them (Delphi compatible!).

> better then
> 
> -dEnableThis -dEnableThat -dDebugThis

This representation allows to list *all* dependencies, which can be 
turned on and off by simply exchanging "-d" by "-u". No need to type the 
full name (correctly!?) to re-enable a definition.

>> Maybe with the possibility to edit them through a list box based dialog as well.
> 
> A list with checkboxes could be useful.

This would not allow for concrete values, checkable with {$IF...}. 
Unless the list entries (checkbox Captions) are editable like 
"DebugLevel=3".

DoDi





More information about the Lazarus mailing list