<div dir="ltr"><div>Thank for the reponse - I will keep eye on both branches, but for now I will stay with ansi rtl and will somehow patch problematic parts in our code.<br><br></div>tomas<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 10:12 AM, Jonas Maebe <span dir="ltr"><<a href="mailto:jonas.maebe@elis.ugent.be" target="_blank">jonas.maebe@elis.ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
On 29 Jul 2013, at 14:52, ko paka wrote:<br>
<br>
> Hello,<br>
><br>
> I would like to ask state of implementation unicode rtl - if I has figured<br>
> it correctly it is developed in branches/unicode. When I try to compile it<br>
> (with fpc release 2.6.2) and use define FPC_UNICODE_RTL, I will get errors<br>
> like:<br>
> variant.inc(82,10) Error: Illegal type conversion: "Text" to "TextRec"<br>
> variant.inc(84,15) Error: Constant and CASE types do not match<br>
> etc .....<br>
><br>
> Am I doing something wrong or it is just too erly to try it ?<br>
<br>
</div></div>If you want to use that define, you have to first build that branch normally and then build it again with with the newly built compiler. Note that it contains many bugs and will generally not work correctly if you use ansistrings whose encoding is different from the default system code page (or if you change defaultsystemcodepage to something different from its initial value).<br>
<br>
I've been working on fixing those bugs and implementing the changes from that branch also for other OSes. You can find that work in the cpstrrtl branch. The main thing still missing from that branch compared to the unicode branch is support for arbitrary string code pages and unicodestrings in findfirst/findnext and some default unicode type definitions in the Windows unit when compiler with -dFPC_UNICODE_RTL.<br>
<br>
<br>
Jonas_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</blockquote></div><br></div>