Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-05

Re: VarArray 64bit clean patch

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author
Show quoted text 13 lines
On Sat, Apr 26, 2008 at 07:28:46PM +0200, Florian Klaempfl wrote: > schrieb: > >Hi. > > > >Today I worked on VarArrays. Here is 64-bit friendly VariantArray > patch. > >Testing program is attached too. Implementation was tested on i386 > and > >AMD64 linux with valgrind. > > The patch is contains more changes. Are they tested too? What's > their > purpose?

My previous version of patch breaks windows VarArray implementation using oleaut32.dll. In attachment is new commented patch. Patch leaves varInt64 and varQWord disabled in variants.pp (VarTypeIsValidArrayType), but internally supports them.

Patch was tested on Linux i386, AMD64 and Win32 by attached program vari.pas. Behaviour is the same on all platforms. Test was compilled with Delphi and Kylix with the same results.

Comments are welcome.

Petr

Ing. Petr Kristan . EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice tel: +420 466335223 Czech Republic (Eastern Europe) fax: +420 466510709

Reply by email