Re: [fpc-pascal] Compiler internals. Changing dynamic arrays format

2022-04-13 Thread Tomas Hajny via fpc-pascal
On 2022-04-13 00:34, denisgolovan via fpc-pascal wrote: Hi Denis, I've been maintaining a set of private patches for some quite old FPC revision for some years. . . My first trouble is initialization of dynamic arrays with constant arrays. It looks like simply building one version of comp

Re: [fpc-pascal] Compiler internals. Changing dynamic arrays format

2022-04-13 Thread denisgolovan via fpc-pascal
> On 2022-04-13 00:34, denisgolovan via fpc-pascal wrote: > Your comment about conditional defines goes in the right direction - > basically: > > 1) Separate your changes into parts affecting the compiler behaviour > (e.g. the changes impacting the compiled structures and code, etc.) from > ch

Re: [fpc-pascal] Compiler internals. Changing dynamic arrays format

2022-04-13 Thread Michael Van Canneyt via fpc-pascal
On Wed, 13 Apr 2022, denisgolovan via fpc-pascal wrote: On 2022-04-13 00:34, denisgolovan via fpc-pascal wrote: Your comment about conditional defines goes in the right direction - basically: 1) Separate your changes into parts affecting the compiler behaviour (e.g. the changes impacti