[fpc-devel] Still finding more...

Sergei Gorelkin sergei_gorelkin at mail.ru
Thu Jan 24 16:45:38 CET 2008


Sergei Gorelkin wrote:
 >

No, it wasn't the last one, found yet another :(
Again, nothing in testsuite could detect it, so I wrote one.

A thing to note is that two last tests (pchar_to_widestr and 
chararray_to_widestr) currently don't fail at least on win32 because 
compiler keeps generating a temp widestring for function result.
This may indicate issues with typeconv nodes handling.

The attached RTL patch is 'safe' in the sense it is independent of 
compiler changes and wouldn't break the old code - just slow it down a 
tiny bit.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tst2.pp
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080124/f75e2a7f/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: zeroconvs.patch
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080124/f75e2a7f/attachment-0001.ksh>


More information about the fpc-devel mailing list