[fpc-devel] Announcement: Free Pascal Compiler Delphi XEPortProject

Skybuck Flying skybuck2000 at hotmail.com
Wed Apr 13 15:35:42 CEST 2011


----- Original Message ----- 
From: "Mark Morgan Lloyd" <markMLl.fpc-devel at telemetry.co.uk>
To: <fpc-devel at lists.freepascal.org>
Sent: Wednesday, 13 April, 2011 10:13 AM
Subject: Re: [fpc-devel] Announcement: Free Pascal Compiler Delphi 
XEPortProject


> Skybuck Flying wrote:
>
>> The source code compiles, however little sections of code have been 
>> disabled as follows:
>>
>> // *** Skybuck: Fix Needed ***
>>
>> These sections are slight free pascal language incompatibilities with 
>> Delphi and need to be fixed...
>>
>> There are about 700 of them. (Many duplicates here and there though).
>
> Are you saying that you have identified these and inserted about 700 
> comments or conditional-compilation directives manually? That's a 
> respectable amount of work...

Yeah :)

Meanwhile I have run into a little ansi string vs unicode string issue in 
ccharset.pas.

According to some previous correspondence and also looking at code in 
units/conditionals this unit might actually not be necessary ?

But I am still confused about that. (Perhaps it's either charset.pas or 
ccharset.pas so I guess either will do (?))

It's a small little unit which apperently (I guess) handles conversion from 
ansi to unicode... or some kind of unicode mapping.

This requires a little bit deeper inspection of the code, since char which 
was ansichar is now an unicode char.

So perhaps that code needs to be changed a little from Parameter : char;  to 
Parameter : AnsiChar;

(Or perhaps this unit is not necessary at all ?)

These little issue's are at porting issue 28 and 29 perhaps 25 to 29 or so 
needs to be looked at.

For now I postpone it because it might not be that important... or it just 
might be... because the alternative charset.pas probably not being used and 
might not be available or could be added.

Anyway if somebody could take a look at all of this and make some sense of 
it that would be great/nice, saves me some time and could clear some 
confusion (?) ;)


Bye,
  Skybuck.


>
> -- 
> Mark Morgan Lloyd
> markMLl .AT. telemetry.co .DOT. uk
>
> [Opinions above are the author's, not those of his employers or 
> colleagues]
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
> 




More information about the fpc-devel mailing list