[fpc-devel] Array of char

thaddy at thaddy.com thaddy at thaddy.com
Wed Feb 25 17:02:42 CET 2015


@ 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

-------------- 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/a07dbbd5/attachment.bin>


More information about the fpc-devel mailing list