Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Mattias Gaertner
On Sun, 23 Sep 2012 17:29:23 +0200 Mattias Gaertner nc-gaert...@netcologne.de wrote: Hi, I was not able to reproduce the crash in a simple program. So I'm asking for help to create a good bug report. The crash happens in lazbuild only on powerpc 64bit Linux with fpc 2.6.0 and fpc 2.7.1.

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Jonas Maebe
Mattias Gaertner wrote on Sun, 23 Sep 2012: Calling the method directly does not crash. Comparing the property and the address gives true: writeln('This gives true=',OnGetIncludePath = @CodeToolBoss.GetIncludePathForDirectory); The result of such an expression is unpredictable on

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Mattias Gaertner
On Mon, 24 Sep 2012 11:43:32 +0200 Jonas Maebe jonas.ma...@elis.ugent.be wrote: Mattias Gaertner wrote on Sun, 23 Sep 2012: Calling the method directly does not crash. Comparing the property and the address gives true: writeln('This gives true=',OnGetIncludePath =

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Jonas Maebe
Mattias Gaertner wrote on Mon, 24 Sep 2012: On Mon, 24 Sep 2012 11:43:32 +0200 Jonas Maebe jonas.ma...@elis.ugent.be wrote: writeln('This gives true=',OnGetIncludePath = @CodeToolBoss.GetIncludePathForDirectory); The result of such an expression is unpredictable on Linux/ppc64 and on AIX.

[fpc-pascal] SDFDataset users!?

2012-09-24 Thread Reinier Olislagers
Hi list, There are some bugs open for sdfdataset, e.g. 22894 Sdfdataset: empty file with FirstLineAsSchema reports Recordcount 1 instead of 0 22882 SDFDataset .AllowMultiLine does not support multiline import I've written a test suite to check sdfdataset behaviour. An older version of this is

Re: [fpc-pascal] SDFDataset users!?

2012-09-24 Thread michael . vancanneyt
On Mon, 24 Sep 2012, Reinier Olislagers wrote: Hi list, There are some bugs open for sdfdataset, e.g. 22894 Sdfdataset: empty file with FirstLineAsSchema reports Recordcount 1 instead of 0 22882 SDFDataset .AllowMultiLine does not support multiline import I've written a test suite to check

Re: [fpc-pascal] Re: SDFDataset users!?

2012-09-24 Thread Michael Van Canneyt
On Mon, 24 Sep 2012, Reinier Olislagers wrote: On 24-9-2012 17:22, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote: On Mon, 24 Sep 2012, Reinier Olislagers wrote: 2. Presumably sdfdataset is used to exchange data with Delphi systems using tstrings.delimitedtext. Therefore I'm

Re: [fpc-pascal] Re: SDFDataset users!?

2012-09-24 Thread Michael Van Canneyt
On Mon, 24 Sep 2012, Ludo Brands wrote: Is there some defined on-disk format that sdfdataset should be following? As I understood it, it is either fixed length or CSV. CSV as in http://tools.ietf.org/html/rfc4180 That is in contradiction with the existing implementation as well as the

Re: [fpc-pascal] Re: SDFDataset users!?

2012-09-24 Thread Ludo Brands
That is in contradiction with the existing implementation as well as the following comments following comments in SDFData.pp 14/Ago/01 Version 2.00 (Orlando Arrocha) John Dung Nguyen showed me how to make this compatible with You are erroneously assuming I actually

Re: [fpc-pascal] Re: SDFDataset users!?

2012-09-24 Thread Michael Van Canneyt
On Mon, 24 Sep 2012, Ludo Brands wrote: That is in contradiction with the existing implementation as well as the following comments following comments in SDFData.pp 14/Ago/01 Version 2.00 (Orlando Arrocha) John Dung Nguyen showed me how to make this compatible with You are

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Florian Klämpfl
Am 24.09.2012 11:43, schrieb Jonas Maebe: Mattias Gaertner wrote on Sun, 23 Sep 2012: Calling the method directly does not crash. Comparing the property and the address gives true: writeln('This gives true=',OnGetIncludePath = @CodeToolBoss.GetIncludePathForDirectory); The result of

Re: [fpc-pascal] SDFDataset users!?

2012-09-24 Thread Sven Barth
On 24.09.2012 17:19, Reinier Olislagers wrote: Hi list, There are some bugs open for sdfdataset, e.g. 22894 Sdfdataset: empty file with FirstLineAsSchema reports Recordcount 1 instead of 0 22882 SDFDataset .AllowMultiLine does not support multiline import I've written a test suite to check

Re: [fpc-pascal] SDFDataset users!?

2012-09-24 Thread Sven Barth
On 24.09.2012 21:06, Sven Barth wrote: Do you think this version is good enough? Comments here or on the forum would be welcome. The only problem I have with TSDFDataset is the following issue related to more strict CPU targets: http://bugs.freepascal.org/view.php?id=22964 Sorry... wrong

Re: [fpc-pascal] crash in lazbuild only on powerpc 64bit

2012-09-24 Thread Jonas Maebe
On 24 Sep 2012, at 20:31, Florian Klämpfl wrote: Am 24.09.2012 11:43, schrieb Jonas Maebe: Mattias Gaertner wrote on Sun, 23 Sep 2012: writeln('This gives true=',OnGetIncludePath = @CodeToolBoss.GetIncludePathForDirectory); The result of such an expression is unpredictable on

Re: [fpc-pascal] libusb header translation and OOP wrapper

2012-09-24 Thread Christo
On Sun, 2012-09-23 at 23:26 +0200, Johann Glaser wrote: Hi! Some time ago somebody asked about USB support. I've now finished the libusb 1.0 header translation and object-oriented wrapper. Please find them at https://github.com/hansiglaser/pas-libusb/tree/libusb-1.0 including a few

Re: [fpc-pascal] libusb header translation and OOP wrapper

2012-09-24 Thread Henry Vermaak
On 24 September 2012 14:39, Christo christo.cra...@gmail.com wrote: Unfortunately the master branch appears to be 2 months old. Any idea how I can clone the libusb-1.0 branch? I'm new to using git so it may be something trivial I'm missing. Try to clone

[fpc-pascal] Re: SDFDataset users!?

2012-09-24 Thread Reinier Olislagers
On 24-9-2012 18:43, Michael Van Canneyt wrote: On Mon, 24 Sep 2012, Reinier Olislagers wrote: On 24-9-2012 17:22, michael.vancanneyt-0is9kj9sb0a-xmd5yjdbdmrexy1tmh2...@public.gmane.org wrote: On Mon, 24 Sep 2012, Reinier Olislagers wrote: Finally, I'll post on the forum that sdf

[fpc-pascal] Re: SDFDataset users!?

2012-09-24 Thread Reinier Olislagers
On 24-9-2012 21:08, Sven Barth wrote: On 24.09.2012 21:06, Sven Barth wrote: Do you think this version is good enough? Comments here or on the forum would be welcome. The only problem I have with TSDFDataset is the following issue related to more strict CPU targets: