[Lazarus] Choose compiler mode

Marco van de Voort marcov at stack.nl
Wed Mar 11 21:32:51 CET 2015


On Wed, Mar 11, 2015 at 10:55:07AM +0100, Michael Van Canneyt wrote:
> > ModeSwitch is interesting.
> > But why they aren't in one mode?I mean all the good stuff in one mode?
> 
> What is 'good stuff' ? That depends on the person.
> 
> Also: you may want to control compatibility. If we added stuff that we think is fun,
> someone uses it in e.g. delphi mode without realizing Delphi doesn't support it, 
> and suddenly his code no longer compiles in Delphi...

Mode Delphi doesn't even try to enforce delphi compatibility, so IMHO that
is a stretch.

I would welcome a setting to generate $mode delphi units by default.




More information about the Lazarus mailing list