[fpc-devel] How FPC handles dynamic arrays with const modifier?

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Aug 13 10:07:03 CEST 2013

On 13 Aug 2013, at 07:56, Maciej Izak wrote:

> But in this case the behaviour of "const" (for dynamic arrays) is the
> default for register calling convention (independent of the Pascal  
> language
> level, this is the low level behaviour forced by the register calling
> convention)... Probably. ;) Should I report it to Bugtracker?

There is already an overarching bug report for that (http://bugs.freepascal.org/view.php?id=15691 
  ). But unless you want your code only to work on i386, that won't  
help you much. The "register" calling convention is not supported on  
any other architecture.


More information about the fpc-devel mailing list