I ran into my own problem when writing a program in freepascal that also
should compile in Delphi (don't ask)
Logically you would expect $mode delphi to enforce delphi compatibility
at the sourcecode level.
But this is not the case if f.e. C style operators are used or
specified, or macro's.
I
On 29 Nov 2011, at 15:39, Thaddy wrote:
I ran into my own problem when writing a program in freepascal that
also should compile in Delphi (don't ask)
Logically you would expect $mode delphi to enforce delphi
compatibility at the sourcecode level.
But this is not the case if f.e. C style oper
This is what I would worry about as well, if I used free pascal or lazarus.
Having a strict delphi mode, would bring free pascal one step closer, to
using it instead of Delphi.
There are other issues which would then remain though like:
Lazarus Forms
Lazarus Packages ?
And perhaps slightly l