Re: [fpc-pascal] compiler option for $J directive

2017-10-12 Thread Tomas Hajny
On Tue, October 10, 2017 11:21, Sven Barth via fpc-pascal wrote: > Am 10.10.2017 08:49 schrieb : >> BTW why would anyone want >> {$WRITEABLECONST ON} >> >> writable constants is an oxymoron and goes against the whole philosophy > of strict types which is central to Pascal. > > They were used mainly

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Sven Barth via fpc-pascal
Am 11.10.2017 05:12 schrieb "Mr Bee via fpc-pascal" < fpc-pascal@lists.freepascal.org>: > > 2017-10-10 13:28 GMT+07:00 Marco van de Voort : >> >> >> Since it is already largely uploaded, no. We are only waiting on some >> targets. > > > I thought such a minor fix that don't break any codes could be

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Sven Barth via fpc-pascal
Am 11.10.2017 07:00 schrieb "Mr Bee via fpc-pascal" < fpc-pascal@lists.freepascal.org>: > > 2017-10-10 16:21 GMT+07:00 Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org>: >> >> They were used mainly back at TP times to have procedure local static variables (cause that is how they behave a

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Christo Crause
>> They were used mainly back at TP times to have procedure local static variables (cause that is how they behave as inside procedures). > > Can we make the {$J-} as default in fpc and objfpc mode for the next major release? +1 ___ fpc-pascal maillist -

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Mr Bee via fpc-pascal
2017-10-10 16:21 GMT+07:00 Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org>: > They were used mainly back at TP times to have procedure local static > variables (cause that is how they behave as inside procedures). > Can we make the {$J-} as default in fpc and objfpc mode for the next

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Mr Bee via fpc-pascal
2017-10-10 13:28 GMT+07:00 Marco van de Voort : > > Since it is already largely uploaded, no. We are only waiting on some > targets. > I thought such a minor fix that don't break any codes could be included. -- Regards, –Mr Bee ___ fpc-pascal mail

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Sven Barth via fpc-pascal
Am 10.10.2017 08:49 schrieb : > BTW why would anyone want > {$WRITEABLECONST ON} > > writable constants is an oxymoron and goes against the whole philosophy of strict types which is central to Pascal. They were used mainly back at TP times to have procedure local static variables (cause that is ho

Re: [fpc-pascal] compiler option for $J directive

2017-10-10 Thread Juha Manninen
On Tue, Oct 10, 2017 at 9:33 AM, wrote: > Now a patch has been integrated for this , perhaps it could be added to > Lazarus Project Options | Compiler Options | Parsing Patches are welcome also for that. The option must be either hidden for compiler versions that do not support it, or there mus

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread pascalX
On 08/10/17 21:24, leledumbo via fpc-pascal wrote: There is my old feature request about it https://bugs.freepascal.org/view.php?id=30344 :) You can monitor it. No one seems to care to implement it, so if you badly need it: sj.patch

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread Marco van de Voort
In our previous episode, Mr Bee via fpc-pascal said: > Thank you, both to Leledumbo and Sven. Will this patch be available in the > next FPC v.3.0.4 release? Since it is already largely uploaded, no. We are only waiting on some targets. ___ fpc-pascal m

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread Mr Bee via fpc-pascal
2017-10-08 23:17 GMT+07:00 Marcos Douglas B. Santos : > > Most developers are using single .inc file that contains all > directives for the whole project. > Well, I don't like such approach. I prefer using my own shell script that I can configure for many purposes and conditions such as build rel

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread Mr Bee via fpc-pascal
Thank you, both to Leledumbo and Sven. Will this patch be available in the next FPC v.3.0.4 release? –Mr Bee Pada Selasa, 10 Oktober 2017 04.44.44 WIB, Sven Barth via fpc-pascal menulis: Am 08.10.2017 22:24 schrieb "leledumbo via fpc-pascal" : > > > There is my old feature request

Re: [fpc-pascal] compiler option for $J directive

2017-10-09 Thread Sven Barth via fpc-pascal
Am 08.10.2017 22:24 schrieb "leledumbo via fpc-pascal" < fpc-pascal@lists.freepascal.org>: > > > There is my old feature request about it > > https://bugs.freepascal.org/view.php?id=30344 :) You can monitor it. > > No one seems to care to implement it, so if you badly need it: sj.patch >

Re: [fpc-pascal] compiler option for $J directive

2017-10-08 Thread leledumbo via fpc-pascal
> There is my old feature request about it > https://bugs.freepascal.org/view.php?id=30344 :) You can monitor it. No one seems to care to implement it, so if you badly need it: sj.patch Apply in compiler directory (please

Re: [fpc-pascal] compiler option for $J directive

2017-10-08 Thread Marcos Douglas B. Santos
On Sun, Oct 8, 2017 at 1:38 AM, Mr Bee via fpc-pascal wrote: > Hi, > > Is there any FPC command line option for writable constanst directive {$J} > or {$WRITEABLECONST} ? > > Since I knew this directive, I always set it to {$J-} (because {$J+} is > ridiculous). However, sometimes I forget to put i

Re: [fpc-pascal] compiler option for $J directive

2017-10-08 Thread Michalis Kamburelis
2017-10-08 9:03 GMT+02:00 Sven Barth via fpc-pascal : > Am 08.10.2017 06:39 schrieb "Mr Bee via fpc-pascal" > : >> >> Hi, >> >> Is there any FPC command line option for writable constanst directive {$J} >> or {$WRITEABLECONST} ? > > No, there is not. > There is my old feature request about it http

Re: [fpc-pascal] compiler option for $J directive

2017-10-08 Thread Sven Barth via fpc-pascal
Am 08.10.2017 06:39 schrieb "Mr Bee via fpc-pascal" < fpc-pascal@lists.freepascal.org>: > > Hi, > > Is there any FPC command line option for writable constanst directive {$J} or {$WRITEABLECONST} ? No, there is not. Regards, Sven ___ fpc-pascal maillist