[fpc-devel] Pointer type declaration issue

Thaddy thaddy at thaddy.com
Wed Nov 10 19:46:14 CET 2010


Hi,

When I was adapting KOL for 2.5.1 (trunk) I noticed a delphi 
incompatibility:

PSomeType = ^TMySomeType;
TMySomeType = tagSometype;

This doesn't compile. I have to change this to

TMySomeType = tagSometype;
PSomeType = ^TMySomeType;

It potentially breaks a lot of code that is syntactically correct for 
Delphi.

Btw, I have worked around it by changing this for kol.pas by hand.

Is this a documented issue or should I submit a bugreport?

Regards,

Thaddy




More information about the fpc-devel mailing list