<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Feb 12, 2016 at 11:24 AM, Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><p>Am 12.02.2016 17:16 schrieb "Dmitry Boyarintsev" <<a href="mailto:skalogryz.lists@gmail.com" target="_blank">skalogryz.lists@gmail.com</a>>:<br>
><br>
> On Fri, Feb 12, 2016 at 9:16 AM, Michael Van Canneyt <<a href="mailto:michael@freepascal.org" target="_blank">michael@freepascal.org</a>> wrote:<br>
>><br>
>> {$define String:=RawByteString}<br>
>><br>
>> and you are done.<br>
><br>
><br>
> How to achieve the same effect from command line?</p>
</span><p>Just don't. There are things that are not worth the trouble and this is one of them.</p></blockquote><div></div><div>In this particular case (of porting Delphi 7 code straight to FPC 3.0.0) is a matter of backward compatibility.<br><br></div><div>I could agree that there are very little options left:<br></div><div>* Delphi (whatever version supports 64bit) - changes in code are needed<br></div><div>* FPC 3.0.0 - <span class="">{$define String:=RawByteString} must be added to every unit (or a single .inc file if used)<br></span></div><div>* FPC 2.6.4 - no changes needed (?)<br> </div><div>So it might be indeed a thing not worth the trouble.<br></div><div><br></div><div>thanks,<br></div><div>Dmitry<br> <br></div></div></div></div>