Re: [fpc-devel] AVR assembler code consistency checking

2018-01-22 Thread Florian Klämpfl
Am 22.01.2018 um 21:35 schrieb Christo: > On Sat, 2018-01-06 at 16:03 +0100, Florian Klämpfl wrote: >> Am 05.01.2018 um 11:24 schrieb Christo: >>> >>> On Wed, 2018-01-03 at 18:10 +0100, Florian Klämpfl wrote: Am 03.01.2018 um 15:48 schrieb Christo: > Is there a better location in the

Re: [fpc-devel] Data alignment feature

2018-01-22 Thread Florian Klämpfl
Am 19.01.2018 um 21:08 schrieb J. Gareth Moreton: > Hi everyone, > > So unless anyone has any objections, I would like to start experimenting to > implement a feature that allows > for per-type data alignment. The main purpose for this is to better support > x86-64 SIMD extensions, where > al

Re: [fpc-devel] AVR assembler code consistency checking

2018-01-22 Thread Christo
On Sat, 2018-01-06 at 16:03 +0100, Florian Klämpfl wrote: > Am 05.01.2018 um 11:24 schrieb Christo: > > > > On Wed, 2018-01-03 at 18:10 +0100, Florian Klämpfl wrote: > > > > > > Am 03.01.2018 um 15:48 schrieb Christo: > > > > Is there a better location in the compiler to implement some assembler

Re: [fpc-devel] Static class methods can or cannot be virtual?

2018-01-22 Thread Maciej Izak
2018-01-22 18:48 GMT+01:00 Mattias Gaertner : > On Mon, 22 Jan 2018 18:45:57 +0100 > Maciej Izak wrote: > > Correct. There was some topic about "static class methods" and "class > > property" some time ago on fpc-devel or in fpc-pascal. For example static > > class methods can be used as callback

Re: [fpc-devel] Static class methods can or cannot be virtual?

2018-01-22 Thread Mattias Gaertner
On Mon, 22 Jan 2018 18:45:57 +0100 Maciej Izak wrote: > 2018-01-22 18:25 GMT+01:00 Denis Kozlov : > > > I presume then there is no way for having a class property who's returned > > value can be dynamically changed in child classes? In other words, class > > property getters/setters can only be

Re: [fpc-devel] Static class methods can or cannot be virtual?

2018-01-22 Thread Maciej Izak
2018-01-22 18:25 GMT+01:00 Denis Kozlov : > I presume then there is no way for having a class property who's returned > value can be dynamically changed in child classes? In other words, class > property getters/setters can only be implemented by the class that declared > the property. > Correct.

Re: [fpc-devel] Static class methods can or cannot be virtual?

2018-01-22 Thread Denis Kozlov
On 22/01/2018 17:09, Maciej Izak wrote: This was bug, fixed in trunk (see my rev. 35724) Thank you for pointing that out. I presume then there is no way for having a class property who's returned value can be dynamically changed in child classes? In other words, class property getters/sette

Re: [fpc-devel] Static class methods can or cannot be virtual?

2018-01-22 Thread Maciej Izak
2018-01-22 18:00 GMT+01:00 Denis Kozlov : > Can static class methods be virtual? > This was bug, fixed in trunk (see my rev. 35724) -- Best regards, Maciej Izak ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-

[fpc-devel] Static class methods can or cannot be virtual?

2018-01-22 Thread Denis Kozlov
Hello, Can static class methods be virtual? According to the FPC documentation, static class methods cannot be virtual, as stated here: https://www.freepascal.org/docs-html/ref/refsu30.html But in practice, FPC compiles and executes virtual and overridden static class methods just fine. Th