[fpc-devel] 0010465: CsSubComponent component properties not streamed

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Dec 24 17:49:28 CET 2007


On 24 Dec 2007, at 12:17, Bee wrote:

>> I have Delphi code that shows the bug, if you want, so maybe Martin  
>> can
>> submit a bugreport at Codegear for a change :-)
>
> It's a dilemma. Though scientifically Delphi's mechanism is wrong  
> but we can't just 'fix' it, especially if there are lot of codes  
> that depend on it, or if Borland/CodeGear let the bug exists on  
> purpose (backward compatibility?). The fix will break the Delphi  
> 'compatibility'.
>
> I suggest FPC to keep the Delphi compatibility to be as much as  
> possible, or even 100% if possible. BUT, keep those compatibilities  
> on Delphi mode only. That's what Delphi mode is all about, right?  
> FPC could use the better/correct mechanism on and only on FPC mode.
>
> This should make everybody happy. User wants to use the 'wrong'  
> Delphi mechanism? Fine, but please use Delphi mode. User wants to  
> use the correct mechanism? Please use FPC mode.

That can only work for language issues, not for rtl issues (especially  
since units compiled in different modes can be linked in the same  
program).


Jonas



More information about the fpc-devel mailing list