Re: [fpc-pascal] {$J} default setting for today

2016-02-20 Thread Jonas Maebe
Graeme Geldenhuys wrote: If it was originally implemented for Turbo Pascal compatibility, why is it enabled for ObjFPC and Delphi modes? Because original Delphi versions also had {$j+} by default. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.f

Re: [fpc-pascal] {$J} default setting for today

2016-02-20 Thread Graeme Geldenhuys
On 2016-02-20 13:09, Bart wrote: > Yes please, break a ton of existing projects. Yes, then they can finally fix there code and use global variables instead. If it was originally implemented for Turbo Pascal compatibility, why is it enabled for ObjFPC and Delphi modes? Regards, - Graeme - --

Re: [fpc-pascal] {$J} default setting for today

2016-02-20 Thread Jonas Maebe
Mr Bee wrote: I think we should follow Delphi in this case. Typed constant should not be writeable by default. That's what a constant should be. The old behavior is a flaw. At least let {$J-} be the default for {$MODE DELPHI} and {$MODE OBJFPC}. What do you think? It can maybe be changed for {

Re: [fpc-pascal] {$J} default setting for today

2016-02-20 Thread Bart
On 2/20/16, Mr Bee wrote: > I think we should follow Delphi in this case. Typed constant should not be > writeable by default. That's what a constant should be. The old behavior is > a flaw. At least let {$J-} be the default for {$MODE DELPHI} and {$MODE > OBJFPC} Yes please, break a ton of exis