[fpc-devel] Array of char

thaddy at thaddy.com thaddy at thaddy.com
Wed Feb 25 17:37:36 CET 2015


My bad, hidden post #0

On 25-Feb-15 5:02 PM, thaddy at thaddy.com wrote:
> @ Florian.
>
> You closed the typecast from array of char to string issue.
> Maybe you are right,
> I just can prove that every d2-xe7 adds a #0, so a cast (partially, 
> agreed) works in delphi and not in fpc.
> I suggest you reconsider this. The raw pointer cast should work, which 
> means an array of char should have a hidden terminator as well as a 
> hidden pre.
>
> With all respect,
>
> Thaddy
>
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20150225/b492bb50/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4243 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20150225/b492bb50/attachment.bin>


More information about the fpc-devel mailing list