[fpc-devel] constref in Windows
jonas.maebe at elis.ugent.be
Sat Nov 20 19:21:51 CET 2010
On 20 Nov 2010, at 17:11, Jonas Maebe wrote:
> On 20 Nov 2010, at 17:03, Paul Ishenin wrote:
>> 20.11.2010 22:48, Jonas Maebe wrote:
>>> It's not about porting code, it's about existing FPC code.
>> Changes in interfaces also breaks existing FPC code. And plus adds more problems to delphi code porting.
> Yes, but it's only part of the reason why I don't think it's a good idea, as I've tried to explain in my previous answers.
Maybe an alternative solution could be to create a new calling convention that has the same meaning stdcall has currently on non-win32 platforms, make that the default calling conventino on non-i386, and then change the behaviour of stdcall to what it is on win32 as far as what "const" means.
More information about the fpc-devel