Re: [fpc-pascal] FPCUnit checking Single values

2012-11-02 Thread ik
On Fri, Nov 2, 2012 at 4:01 PM, wrote: > > > On Fri, 2 Nov 2012, ik wrote: > >> Hello, >> >> I'm trying to check Single value. >> >> I'm doing the following: >> >> a := 1.1; >> b := 1.1; >> CheckEquals(a, b, Format('val %f does not equal %f', [a, b])); >> >> It reports an error, one of them are 1

Re: [fpc-pascal] Re: Automatically exporting C++ API using SWIG??

2012-11-02 Thread dev . dliw
Hi, > http://members.upc.nl/s.grewar/swig_2.0.8_to_swig_delphi.diff Hm, this really doesnt look good.. :( I did run "make maintainer-clean" before packing - and hoped this would remove all this autogenerated stuff - apparently this wasn't the case [although the size of the whole thing went down

Re: [fpc-pascal] FPCUnit checking Single values

2012-11-02 Thread michael . vancanneyt
On Fri, 2 Nov 2012, ik wrote: Hello, I'm trying to check Single value. I'm doing the following: a := 1.1; b := 1.1; CheckEquals(a, b, Format('val %f does not equal %f', [a, b])); It reports an error, one of them are 1.1 and the other is 1,10 . I know about the possible drifts of floating p

[fpc-pascal] FPCUnit checking Single values

2012-11-02 Thread ik
Hello, I'm trying to check Single value. I'm doing the following: a := 1.1; b := 1.1; CheckEquals(a, b, Format('val %f does not equal %f', [a, b])); It reports an error, one of them are 1.1 and the other is 1,10 . I know about the possible drifts of floating points, but how can I create a test

Re: [fpc-pascal] Why opening a file for write fails in fpc 2.6?

2012-11-02 Thread Giuliano Colla
Graeme Geldenhuys ha scritto: On 2012-11-01 23:32, Giuliano Colla wrote: That's the main reason I look with more interest to LCL than fpGUI. Simply because LCL provides already implemented much more features I need with respect to fpGUI, (at least up to the last time I evaluated fpGUI). That

[fpc-pascal] Re: Automatically exporting C++ API using SWIG??

2012-11-02 Thread Reinier Olislagers
On 31-10-2012 13:37, dev.dliw-re5jqeeqqe8avxtiumw...@public.gmane.org wrote: > Hi, > here it is: > http://downloadit.pf-control.de/dl.php?ref=swig > > Unfortunately I made the mistake and did the work on a non version controlled > folder - therefore it is whole swig and not just a patch :( > > F

Re: [fpc-pascal] Why opening a file for write fails in fpc 2.6?

2012-11-02 Thread Graeme Geldenhuys
On 2012-11-01 23:32, Giuliano Colla wrote: > That's the main reason I look with more interest to LCL than fpGUI. > Simply because LCL provides already implemented much more features I > need with respect to fpGUI, (at least up to the last time I evaluated > fpGUI). That's probably been a while