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
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 -
--
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 {
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