[fpc-pascal] arm and negative float

2007-04-11 Thread Henry Vermaak
i've been playing around with some arm boards for a while now and i managed to port some of our software fairly successfully. linking to our c libraries works well and it's amazing how much less fuss it was to cross compile the pascal sources. i did find a couple of issues, though. i thought i'

Re: [fpc-pascal] arm and negative float

2007-04-11 Thread Michalis Kamburelis
Henry Vermaak wrote: [...] > > 2) BoolToStr returns '0' for False and '-1' for True... > [...] That was intentional change in r5744. Changelog says * booltostr now D7 compat. so that's it... You have to pass 2nd argument "true" for BoolToStr now to get 'False' or 'True' results (or whatever you

Re: [fpc-pascal] arm and negative float

2007-04-11 Thread Henry Vermaak
[...] > > 2) BoolToStr returns '0' for False and '-1' for True... > [...] That was intentional change in r5744. Changelog says * booltostr now D7 compat. so that's it... You have to pass 2nd argument "true" for BoolToStr now to get 'False' or 'True' results (or whatever you set in TrueBoolStrs).